--- a/app-text/evince/evince-2.32.0-r1.ebuild 2011-01-18 09:04:51.000000000 +0000 +++ a/app-text/evince/evince-2.32.0-r1.ebuild 2011-02-16 12:03:52.000000000 +0000 @@ -5,7 +5,7 @@ EAPI="3" GCONF_DEBUG="yes" -inherit eutils gnome2 +inherit eutils gnome2 autotools DESCRIPTION="Simple document viewer for GNOME" HOMEPAGE="http://projects.gnome.org/evince/" @@ -95,6 +95,9 @@ src_prepare() { # Fix problem with some pk fonts, upstream bug #639746 epatch "${FILESDIR}"/${PN}-2.32.0-pk-fonts.patch + # Fix problem with evince crashing with poppler-0.16.x, bug #354709 + epatch "${FILESDIR}"/${PN}-2.32.0-poppler-linearized.patch + # Fix intltoolize broken file, see upstream #577133 sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \ || die "intltoolize sed failed" @@ -104,6 +107,9 @@ src_prepare() { # Fix .desktop file so menu item shows up epatch "${FILESDIR}"/${PN}-0.7.1-display-menu.patch + + eautoconf + eautoheader } src_install() {