Subject: CVS commit: pkgsrc/print/poppler016
From: John Marino
Date: 2012-08-13 18:15:21
Message id: 20120813161521.C1ABE175DD@cvs.netbsd.org

Log Message:
print/poppler016: Fix poppler-qt.pc (Fixes KOffice, kdegraphics3)

Remove a dependency to poppler-0.16 in the poppler-qt.pc file so
that pkg-config --cflags "poppler-qt >= 0.3.1" returns valid \ 
information.

Default poppler version is now 0.20.x.  Since this package explicitly uses
0.16.x, @PC_REQUIRES_PRIVATE@ introduces a dependency to poppler-0.16.x in
the .pc file; pkg-config will then print messages such as "Package
'poppler-qt' requires 'poppler = 0.16.7' but version of poppler is 0.20.2"
instead of the required information.  Removing the Requires.private line
entirely fixes the issue.

After applying this patch and rebuilding poppler-qt, graphics/kdegraphics3
and misc/koffice now build on DragonFly.  Previously they failed with
poppler-related errors.

Patch provided by F.Tigeot.

Files:
RevisionActionfile
1.2modifypkgsrc/print/poppler016/Makefile
1.2modifypkgsrc/print/poppler016/distinfo
1.1addpkgsrc/print/poppler016/patches/patch-poppler-qt.pc.in