poppler has changed its API for getting PDF properties since 0.15.1 after the release of evince-2.32.0. From ChangeLog of poppler: > commit d4a6c17255821925906c17b79b88eebed9edfee1 > Author: Carlos Garcia Campos <carlosgc@gnome.org> > Date: Fri Sep 17 13:04:33 2010 +0200 > > [glib] Add accessor for all PopplerDocument properties > > PopplerDocument:linearized is now a boolean value rather than string, > so this commit breaks the API again. This change causes evince segfault when showing properties of some PDF files. To avoid this, evince must handle ``linearized'' property as boolean. Added file(s): - files/patch-backend__pdf__ev-poppler.cc Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 Fix: This fix is borrowed from http://osdir.com/ml/general/2010-09/msg30460.html Since poppler in FreeBSD is now 0.18.0, #ifdef's are not required. This fix should be removed when evince is updated to 3.x. How-To-Repeat: Download a PDF file from http://www.opm.gov/forms/pdf_fill/of0306.pdf and open it with evince. Choose Properties from File menu.
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed, thanks!
mezz 2012-03-14 05:30:38 UTC FreeBSD ports repository Modified files: graphics/evince Makefile Added files: graphics/evince/files patch-backend_pdf_ev-poppler.cc Log: Fix the crash on some PDF files. Bump the PORTREVISION. PR: ports/162755 Obtained from: http://osdir.com/ml/general/2010-09/msg30460.html Submitted by: Hiroto Kagotani <hiroto.kagotani@gmail.com> Feature safe: yes Revision Changes Path 1.70 +1 -1 ports/graphics/evince/Makefile 1.3 +28 -0 ports/graphics/evince/files/patch-backend_pdf_ev-poppler.cc (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"