Gnucash 2.2.9 depends on goffice to be built with USE="gnome". In turn, goffice depends on libgsf to be built with USE="gnome", but this needs checking in the gnucash ebuild if not using EAPI="2" syntax (as libgsf is an indirect dependency of gnucash, it is inappropriate to depend on it). Attaching patches for EAPI="2" versions of goffice ebuilds.
Created attachment 187490 [details, diff] goffice-0.2.1 patch
Created attachment 187491 [details, diff] goffice-0.4.3 patch
Created attachment 187493 [details, diff] goffice-0.6.4 patch
Created attachment 187495 [details, diff] goffice-0.6.5 patch
Created attachment 187496 [details, diff] goffice-0.6.4 patch
Fixed in 11/04/09 commit by loki_val.