Subject: Re: Mozilla-1.6
To: Art Lemasters <slemas1@mindspring.com>
From: Chris Wareham <chris.wareham@iosystems.co.uk>
List: netbsd-users
Date: 01/20/2004 09:15:02
Art Lemasters wrote:
> Chris Wareham wrote:
> 
>> Steven M. Bellovin wrote:
>>
>>> In message <20040119092042.GA18851@gornik.lubin.edu.pl>, Dawid 
>>> Szymanski writes
>>> :
>>>
>>>> On Mon, Jan 19, 2004 at 02:29:21PM +0900, Jorgen Lundman wrote:
>>>> | Has anyone built mozilla-1.6 successfully? (I did a CVS update on 
>>>> the very [...]
>>>>
>>>> Yes.
>>>> On NetBSD 1.6ZH.
>>>>
>>>
>>>
>>> Same here.  And www.kakaku.com seems to work, though I can't read 
>>> anything on the page...  (I'm also using 1.6ZH, from Saturday's pkgsrc.)
>>>
>>> On the other hand, I can't build galeon now.
>>>
>>>
>>
>> I've been rolling my own Mozilla from the 1.6 branch for a while, and
>> the results have proved very stable. I simply applied the pkgsrc patches
>> before building, and added the configure option for GTK2 support. I
>> noticed that the pkgsrc update to 1.6 also added a MOZILLA_USE_GTK2
>> option. However, the resulting package doesn't run. I haven't had time
>> to look into what pkgsrc is doing differently to the 'standard' Mozilla
>> build, or traced mozilla-bin to see where it exits.
>>
>> Chris
> 
> 
>   Thanks, Chris.  I'm having the same problem Jorgen's having with
> Mozilla 1.6, and in 1.6.1 using pkgsrc, also.  ...interesting.  Could
> it be that MOZILLA_USE_GTK2 is incorrect or something?  How did you
> write the option?  ...and in one of the makefiles?  ...can't help but
> wonder if it might have something to do with Composer crashing when
> anything's entered in its editing window (or when one chooses "File"
> and "Edit Page" from the browser), too.  Mozilla 1.6 was made with
> the earlier GTK (1.2.10) here.
> 

To build a Mozilla package with GTK2 used as the underlying toolkit
instead of GTK1.2, simply add MOZILLA_USE_GTK2=YES to your /etc/mk.conf
file. To build by hand, follow the Unix build instructions on
www.mozilla.org, but include --enable-gui-toolkit=gtk2 in the .mozconfig
file.

Chris
-- 
chris.wareham@iosystems.co.uk (work)
chris.wareham@btopenworld.com (home)