[Poppler-bugs] [Bug 41258] pdftocairo util requires freetype

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 28 04:20:21 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=41258

--- Comment #2 from Adrian Johnson <ajohnson at redneon.com> 2011-09-28 04:20:18 PDT ---
Created an attachment (id=51712)
 View: https://bugs.freedesktop.org/attachment.cgi?id=51712
 Review: https://bugs.freedesktop.org/review?bug=41258&attachment=51712

Include cairo dependecies in CAIRO_LIBS

The problem is we should be including cairo-ft in the pkg-config test. Since
the cairo backends are optional their library dependencies are not included in
cairo.pc. eg

$ pkg-config --libs cairo
-lcairo  

$ pkg-config --libs cairo-ft
-L/usr/lib/x86_64-linux-gnu -lcairo -lfreetype

The attached patch includes cairo-ft in the PKG_CONFIG_MODULES check since the
cairo freetype backend is required. It also checks for the optional cairo
backends (ps/pdf/svg) and if found includes their dependencies CAIRO_LIBS.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list