The xfig program uses at least one command -- giftopnm -- from the netpbm ebuild when importing a gif file. To recreate: 0. Start xfig 1. Select the "Picture Object" tool (the camera in the toolbar) 2. A dialog appears; enter the path to a gif file in the "Picture Filename" box. 3. Click the "Apply" button in the dialog. Xfig exits with the following: $ xfig sh: giftopnm: command not found Broken pipe While I don't think that this is necessarily the best behavior on xfig's part, it could be prevented by adding a dependency on the media-libs/netpbm ebuild. I'm using xfig 3.2.3d-r1. I have verified that the problem is solved by installing netpbm 9.12-r4. I humbly submit the following patch for the xfig ebuild script: # diff -c xfig-3.2.3d-r1.ebuild.orig xfig-3.2.3d-r1.ebuild *** xfig-3.2.3d-r1.ebuild.orig Mon Dec 2 22:34:09 2002 --- xfig-3.2.3d-r1.ebuild Mon Dec 2 22:27:20 2002 *************** *** 17,23 **** media-libs/libpng" RDEPEND="${DEPEND} ! media-gfx/transfig" src_unpack() { unpack ${A} --- 17,24 ---- media-libs/libpng" RDEPEND="${DEPEND} ! media-gfx/transfig ! media-libs/netpbm" src_unpack() { unpack ${A}
nice catch