media-gfx/xfig depends on virtual/x11, which According to http://www.gentoo.org/proj/en/desktop/x/x11/porting-modular-x-howto.xml, virtual/x11 should be replaced by a separated packages list to support 'modular Xorg'. The dependencies should be something like this: DEPEND="|| ( ( x11-misc/imake x11-misc/rman x11-libs/libXaw x11-proto/xproto x11-proto/inputproto ) virtual/x11 ) x11-libs/Xaw3d media-libs/jpeg media-libs/libpng" RDEPEND="|| ( x11-libs/libXaw virtual/x11 ) x11-libs/Xaw3d media-libs/jpeg media-libs/libpng media-gfx/transfig media-libs/netpbm"
Created attachment 78503 [details, diff] Patch for xfig-3.2.4-r1.ebuild to support modular X
Created attachment 78504 [details, diff] Patch for xfig-3.2.4-r2.ebuild to support modular X
Created attachment 78505 [details, diff] Patch for xfig-3.2.5_alpha5.ebuild to support modular X
I attached three patches (for the three versions of xfig in portage). Emerge worked well with xfig-3.2.4-r2, but I don't know if I forgot dependencies. Note there is an error in my bug report: "app-text/rman" is required (not "x11-misc/rman"). Could someone test the patches and (eventually) apply the patches to the portage tree?
Thanks, committed. For future reference, we generally prefer unified diffs (diff -u). I had to re-structure the DEPEND/RDEPEND system, but the committed deps are roughly what were submitted. I added libXp for those with USE="-xprint".