From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 1 02:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BE981065670 for ; Tue, 1 Dec 2009 02:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9B78FC19 for ; Tue, 1 Dec 2009 02:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB12U1qW041390 for ; Tue, 1 Dec 2009 02:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB12U13U041387; Tue, 1 Dec 2009 02:30:01 GMT (envelope-from gnats) Resent-Date: Tue, 1 Dec 2009 02:30:01 GMT Resent-Message-Id: <200912010230.nB12U13U041387@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Dima Panov" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0E31106566B for ; Tue, 1 Dec 2009 02:26:34 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4EF4F8FC16 for ; Tue, 1 Dec 2009 02:26:33 +0000 (UTC) Received: from Fluffy.Khv.RU (dhcp-14.local.ael [192.168.100.14]) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id nB12QVgX039129 for ; Tue, 1 Dec 2009 12:26:31 +1000 (VLAT) (envelope-from fluffy@FreeBSD.org) Received: from Fluffy.Khv.RU (localhost [127.0.0.1]) by Fluffy.Khv.RU (8.14.3/8.14.3/Fluffy/5.4.1) with ESMTP id nB12QD5X012453 for ; Tue, 1 Dec 2009 12:26:13 +1000 (VLAT) (envelope-from fluffy@FreeBSD.org) Message-Id: <1259634373.94434@Fluffy.Khv.RU> Date: Tue, 1 Dec 2009 12:26:13 +1000 From: "Dima Panov" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/141043: x11-toolkit/pango: fix fontconfig/freetype2/cairo handling X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2009 02:30:02 -0000 >Number: 141043 >Category: ports >Synopsis: x11-toolkit/pango: fix fontconfig/freetype2/cairo handling >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Dec 01 02:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dima Panov >Release: FreeBSD 9.0-900002-CURRENT amd64 >Organization: Fluffy.Khv.RU >Environment: System: FreeBSD 9.0-900002-CURRENT #0: Tue Nov 24 08:49:07 VLAT 2009 fluffy@Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot >Description: x11-toolkit/pango: fix fontconfig/freetype2/cairo handling: by default, build of pango gives this log: [...] GEN PangoFT2-1.0.gir GEN Pango-1.0.typelib Package pangoft2 was not found in the pkg-config search path. Perhaps you should add the directory containing `pangoft2.pc' to the PKG_CONFIG_PATH environment variable No package 'pangoft2' found Package pangoft2 was not found in the pkg-config search path. Perhaps you should add the directory containing `pangoft2.pc' to the PKG_CONFIG_PATH environment variable No package 'pangoft2' found In file included from /tmp/usr/ports/x11-toolkits/pango/work/pango-1.26.1/pango/pango-ot.h:25, from :4: ../pango/pangofc-font.h:25:22: error: ft2build.h: No such file or directory ../pango/pangofc-font.h:26:10: error: #include expects "FILENAME" or ../pango/pangofc-font.h:27:35: error: fontconfig/fontconfig.h: No such file or directory In file included from ../pango/pango-font.h:25, from ../pango/pangofc-font.h:28, from /tmp/usr/ports/x11-toolkits/pango/work/pango-1.26.1/pango/pango-ot.h:25, from :4: ../pango/pango-coverage.h:25:18: error: glib.h: No such file or directory In file included from ../pango/pango-font.h:26, from ../pango/pangofc-font.h:28, from /tmp/usr/ports/x11-toolkits/pango/work/pango-1.26.1/pango/pango-ot.h:25, from :4: ../pango/pango-types.h:26:25: error: glib-object.h: No such file or directory [...] This happens by absend apropriate CFLAGS with required include paths. >How-To-Repeat: >Fix: --- pango.diff begins here --- Index: x11-toolkits/pango/Makefile =================================================================== RCS file: /home/ncvs/ports/x11-toolkits/pango/Makefile,v retrieving revision 1.113 diff -u -r1.113 Makefile --- x11-toolkits/pango/Makefile 28 Nov 2009 20:06:22 -0000 1.113 +++ x11-toolkits/pango/Makefile 1 Dec 2009 02:20:47 -0000 @@ -48,13 +48,25 @@ .if defined(WITHOUT_X11) CONFIGURE_ARGS+= --with-x=no -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ + -I${LOCALBASE}/include/fontconfig \ + -I${LOCALBASE}/include/cairo \ + ${GLIB2_CFLAGS} -I${LOCALBASE}/include" \ + CFLAGS="-I${LOCALBASE}/include/freetype2 \ + -I${LOCALBASE}/include/fontconfig \ + -I${LOCALBASE}/include/cairo \ ${GLIB2_CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" PLIST_SUB+= X11="@comment " .else USE_XORG+= xft xrender -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ + -I${LOCALBASE}/include/fontconfig \ + -I${LOCALBASE}/include/cairo \ + ${GLIB2_CFLAGS} -I${LOCALBASE}/include" \ + CFLAGS="-I${LOCALBASE}/include/freetype2 \ + -I${LOCALBASE}/include/fontconfig \ + -I${LOCALBASE}/include/cairo \ ${GLIB2_CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" PLIST_SUB+= X11="" --- pango.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: