Created attachment 270901 [details] fix the wrong condition check before returning from main() There is a bug in the source. The condition in the very last if in the main() function is checked wrong way, so when the save_pixbuf returns 0 (success) the whole programme ends with a non-zero return value. This makes other programmes, e.g. Thunar think that the raw-thumbnailer has actually failed. For Thunar in particular this means ignoring the resulting thumbnail. I have tried to contact upstream but without any success so I've decided to send the patch here.
(In reply to comment #0) > Created attachment 270901 [details] > fix the wrong condition check before returning from main() > > There is a bug in the source. The condition in the very last if in the main() > function is checked wrong way, so when the save_pixbuf returns 0 (success) the > whole programme ends with a non-zero return value. This makes other programmes, > e.g. Thunar think that the raw-thumbnailer has actually failed. For Thunar in > particular this means ignoring the resulting thumbnail. > > I have tried to contact upstream but without any success so I've decided to > send the patch here. No such thing as =media-gfx/raw-thumbnailer-0.2-r90 in Portage. Also, I don't see anything ever reported here: http://code.google.com/p/raw-thumbnailer/issues/list
Also since removal of thunar-thumbnailers and replacing it with tumbler, I don't think Thunar or anything in Xfce uses the package at all.
Fixed in 0.2-r1 (still no idea where you got -r90 from, so this would show up as an downgrade for you) +*raw-thumbnailer-0.2-r1 (22 Apr 2011) + + 22 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> + +raw-thumbnailer-0.2-r1.ebuild, + +files/raw-thumbnailer-0.2-return_0_with_success.patch: + Return 0 with success wrt #364511 by Łukasz Stelmach. And please report it to the upstream. He's very much alive and responsive on googlecode, as he's the same author with ffmpegthumbnailer and I've just dealed with him some weeks ago...
http://code.google.com/p/raw-thumbnailer/issues/detail?id=1