From owner-freebsd-gnome@FreeBSD.ORG Fri Aug 5 04:58:44 2005 Return-Path: X-Original-To: gnome@freebsd.org 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 B376416A41F for ; Fri, 5 Aug 2005 04:58:44 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from eastrmmtao05.cox.net (eastrmmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE62243D49 for ; Fri, 5 Aug 2005 04:58:43 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by eastrmmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050805045841.VYES2947.eastrmmtao05.cox.net@mezz.mezzweb.com>; Fri, 5 Aug 2005 00:58:41 -0400 Date: Thu, 04 Aug 2005 23:59:55 -0500 To: "Mikhail Teterin" References: <200508041742.33580.mi+mx@aldan.algebra.com> <200508041946.46147.mi+mx@aldan.algebra.com> <200508042011.35369.mi+mx@aldan.algebra.com> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: User-Agent: Opera M2/8.02 (Linux, build 1272) Cc: gnome@freebsd.org Subject: Re: leaner and even meaner firefox X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2005 04:58:44 -0000 On Thu, 04 Aug 2005 23:30:21 -0500, Jeremy Messenger wrote: > On Thu, 04 Aug 2005 19:40:45 -0500, Jeremy Messenger > wrote: > >> On Thu, 04 Aug 2005 19:18:48 -0500, Jeremy Messenger >> wrote: >> >>> On Thu, 04 Aug 2005 19:11:35 -0500, Mikhail Teterin >>> wrote: >>> >>>>> ${PREFIX} == ${X11BASE}, since firefox's prefix is X11BASE. I will >>>>> test it >>>>>   by change PREFIX -> LOCALBASE and see what happen. >>>> >>>> Aha! You are right -- this is my mistake... (My machines all have both >>>> LOCALBASE and X11BASE set to /opt, so I did not notice this). >>>> >>>> The new addition to the makefile should read: >>>> >>>> @${REINPLACE_CMD} -e 's|/usr/local/netscape|${LOCALBASE}|g' \ >>>> -e 's|/usr/local/lib/netscape|${LOCALBASE}/lib|g' \ >>>> ${WRKSRC}/xpcom/*/SpecialSystemDirectory.cpp >>>> >>>> PREFIX was a wrong pick anyway -- we don't need firefox' directory >>>> there, but >>>> that of another port (nss). It should work for you now... >>> >>> Yep, it works here now. Bless to ccache. ;-) I will clean up a bit to >>> make portlint happy and put in ports-stable. If you want to send more >>> changes, be sure to compare with MarcusCom CVS in ports-stable. Thanks. >> >> I have found another problem. I can't build epiphany with this new >> change. >> >> ======================================= >> checking which mozilla to use... firefox >> checking for firefox-gtkmozembed >= 0.10 firefox-xpcom >= 0.10... >> gnome-config: not found >> gnome-config: not found >> Package firefox-nspr was not found in the pkg-config search path. >> Perhaps you should add the directory containing `firefox-nspr.pc' to >> the PKG_CONFIG_PATH environment variable Package 'firefox-nspr', >> required by 'XPCOM', not found >> configure: error: Library requirements (firefox-gtkmozembed >= 0.10 >> firefox-xpcom >= 0.10) not met; consider adjusting the PKG_CONFIG_PATH >> environment variable if your libraries are in a nonstandard prefix so >> pkg-config can find them. >> ===> Script "configure" failed unexpectedly. >> ======================================= >> >> We don't have nspr.pc anymore if we use with your firefox patch. Maybe >> nspr port needs to install nspr.pc then add a hack to teach for nspr.pc >> in each ports, not *-nspr.pc. Or another better way if anyone find. >> >> ======================================= >> # find /usr -name \*nspr.pc >> [...empty...] >> ======================================= > > Here is add nspr.pc patch: http://people.freebsd.org/~mezz/diff/nspr.diff > > I will put it in MarcusCom CVS in ports-stable module soon. Many emails, but it's my last for tonight... I have fixed the epiphany build if I edit in firefox-xpcom.pc like this: -Requires: firefox-nspr = 1.0.6 +Requires: nspr >= 4.6.0 I put 4.6.0, because I have no idea if previous version will work. At least, we don't have to hack in epiphany, but might need to check other ports to make sure they do or don't need to hack. Cheers, Mezz > Cheers, > Mezz > >> BTW: update firefox patch: >> http://people.freebsd.org/~mezz/diff/firefox.diff >> >> Cheers, >> Mezz >> >>> Cheers, >>> Mezz >>> >>>> -mi -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org