pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: qt4-libs and fontconfig



On Fri, 12 Oct 2007, Jeremy C. Reed wrote:

> /usr/pkg/qt4/lib/libQtGui.so: undefined reference to `FcFreeTypeQueryFace'
> 
> libQtGui.so needs libfontconfig.so.1 directly.
> 
> So I research fontconfig and that was added in fontconfig 2.4.2:
> 
>           Add FcFreeTypeQueryFace external API. Bug #7311.

Reply to myself. Since the ABI and API changed, then the fontconfig 
buildlink3.mk should be fixed (not specific to qt4-libs like I mentioned 
before).

I bcc'd this to the developer who updated fontconfig last December.

Okay if I do the following?

--- fonts/fontconfig/buildlink3.mk      8 Jul 2006 23:10:49 -0000       1.24
+++ fonts/fontconfig/buildlink3.mk      13 Oct 2007 19:45:53 -0000
@@ -12,8 +12,7 @@
 BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fontconfig
 
 .if !empty(FONTCONFIG_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.fontconfig+=             fontconfig>=1.0.1
-BUILDLINK_ABI_DEPENDS.fontconfig+=     fontconfig>=2.3.2nb2
+BUILDLINK_API_DEPENDS.fontconfig+=     fontconfig>=2.4.2
 BUILDLINK_PKGSRCDIR.fontconfig?=       ../../fonts/fontconfig
 .endif # FONTCONFIG_BUILDLINK3_MK
 

I'm guessing since it has been ten months that bumping its dependencies 
doesn't matter anymore. Or should I?

(And thank you Adam for adding the fontconfig dependency for qt4-libs.
And thank you for maintaining qt.)





Home | Main Index | Thread Index | Old Index