From owner-freebsd-gnome@FreeBSD.ORG Sat Oct 2 17:12:50 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 052C316A4CE for ; Sat, 2 Oct 2004 17:12:50 +0000 (GMT) Received: from mail-out03.broadnet-mediascape.de (mail-out03.broadnet-mediascape.de [62.206.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 71C6443D3F for ; Sat, 2 Oct 2004 17:12:48 +0000 (GMT) (envelope-from ino-qc@spotteswoode.de.eu.org) Received: (qmail 11288 invoked by uid 113); 2 Oct 2004 17:12:46 -0000 Received: from ino-qc@spotteswoode.de.eu.org by mail-out03 by uid 106 with qmail-scanner-1.20rc3 (trophie: 6.810-1005/186/72167. Clear:RC:1:. Processed in 0.252998 secs); 02 Oct 2004 17:12:46 -0000 X-Qmail-Scanner-Mail-From: ino-qc@spotteswoode.de.eu.org via mail-out03 X-Qmail-Scanner: 1.20rc3 (Clear:RC:1:. Processed in 0.252998 secs) Received: from d463c278.datahighways.de (HELO spotteswoode.dnsalias.org) (212.99.194.120) by mail-out03.broadnet-mediascape.de with SMTP; 2 Oct 2004 17:12:45 -0000 Received: (qmail 21216 invoked by uid 0); 2 Oct 2004 17:13:06 -0000 Date: 2 Oct 2004 19:12:44 +0200 Message-ID: <3c0x9h7h.fsf@ID-23066.news.dfncis.de> From: "Clemens Fischer" To: gnome@FreeBSD.org User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Subject: ports/www/firefox/Makefile,v 1.92 2004/09/28 bug(s) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 17:12:50 -0000 hi. had the following problem: five of the files comprising "firefox" lack an include file. symptom: ,---- | In file included from /usr/X11R6/include/X11/Xft/Xft.h:35, | from nsDeviceContextGTK.cpp:78: | /usr/local/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h' hasn't been included yet!" | /usr/local/include/freetype2/freetype/freetype.h:21: #error "Please always use macros to include FreeType header files." | /usr/local/include/freetype2/freetype/freetype.h:22: #error "Example:" | /usr/local/include/freetype2/freetype/freetype.h:23: #error " #include " | /usr/local/include/freetype2/freetype/freetype.h:24: #error " #include FT_FREETYPE_H" | nsDeviceContextGTK.cpp: In function `void xlfd_from_pango_font_description(GtkWidget *, const PangoFontDescription *, nsStr | ing &)': | nsDeviceContextGTK.cpp:1119: warning: unused variable `char * tmp' | gmake[4]: *** [nsDeviceContextGTK.o] Error 1 | gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src/gtk' | gmake[3]: *** [libs] Error 2 | gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src' | gmake[2]: *** [libs] Error 2 | gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx' | gmake[1]: *** [tier_9] Error 2 | gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' | gmake: *** [default] Error 2 | *** Error code 2 `---- fix(?): put the required "#include..." near the top of those files. those files are: work/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp:// -ino: 20041002-1655 work/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:// -ino: 20041002-1702 work/mozilla/gfx/src/gtk/nsFontMetricsUtils.cpp:// -ino: 20041002-1655 work/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:// -ino: 20041002-1655 work/mozilla/gfx/src/gtk/nsGfxFactoryGTK.cpp:// -ino: 20041002-1708 what i did: ,---- | 1512 041002-16:18 localname=$(pwd) && portupgrade -Wv ${localname#*/ports/} | 1513 041002-16:52 find . -name 'nsDeviceContextGTK.cpp' | 1514 041002-16:53 vi `find . -name 'nsDeviceContextGTK.cpp'` | 1515 041002-16:56 hi | 1516 041002-16:56 note '' Readme | 1517 041002-16:57 make BATCH=YES | 1518 041002-17:00 find . -name 'nsDrawingSurfaceGTK.cpp' | 1519 041002-17:01 vi `find . -name 'nsDrawingSurfaceGTK.cpp'` | 1520 041002-17:02 make BATCH=YES | 1521 041002-17:07 vi `find . -name 'nsGfxFactoryGTK.cpp'` | 1522 041002-17:09 tv | 1523 041002-17:09 make BATCH=YES | 1524 041002-17:12 #rm /ports/distfiles/firefox-0.9.* | 1525 041002-17:13 vi `find . -name 'nsFontMetricsUtils.cpp'` | 1526 041002-17:14 m Readme | 1527 041002-17:14 fg | 1528 041002-17:14 tv | 1529 041002-17:15 make BATCH=YES | 1530 041002-17:17 vi `find . -name 'nsFontMetricsUtils.cpp'` | 1531 041002-17:18 make BATCH=YES | 1532 041002-17:21 vi `find . -name 'nsFontMetricsXft.cpp'` | 1533 041002-17:21 make BATCH=YES | 1534 041002-18:41 make BATCH=YES {d,r}einstall | 1535 041002-18:48 hi 55 | 1536 041002-18:51 note '' Readme | 1537 041002-18:53 g -r '^// -ino:' * | 1538 041002-18:58 make clean;hi 33 `---- shouldn't there be a "central" include file higher up in the hierarchy where to place that missing ``#include "ft2build.h"''? or is my setup busted or does everybody else install a firefox-package? regards, clemens