Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3575 - Mozilla Browser only eBuild
Summary: Mozilla Browser only eBuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-10 05:34 UTC by Patrick
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Mozilla 1.0-r2 eBuild without Mail and News Client (mozilla-1.0-r2.ebuild,9.88 KB, text/plain)
2002-06-10 05:35 UTC, Patrick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2002-06-10 05:34:18 UTC
Hi,
i think it would be better to make an extra ebuild for mozilla browser only (for
all the galeon users!)
I send you an modified ebuild for moz 1.0-r2 with the browser only setup

Greetings,
Patrick
Comment 1 Patrick 2002-06-10 05:35:27 UTC
Created attachment 1423 [details]
Mozilla 1.0-r2 eBuild without Mail and News Client
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-12 14:50:21 UTC
No.  Imho, I do not think a seperate ebuild is an good idea, and will only
increase complexity.  If the 5/10 mins extra compile time is really that
important (and the bit of disk space saved), then I really think an USE
flag will be an better option.
Comment 3 Troy Dack 2002-06-13 19:15:58 UTC
Instead of use flags, how about an environment var similar to what is used in
the Alsa ebuilds.

# to build only the browser
export BUILD_MOZILLA_PARTS="browser"

# to build browser and mail
export BUILD_MOZILLA_PARTS="browser mail"
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-13 23:46:22 UTC
Many people do use the mail, so if disableling it by default, you will
create hassle for them, where others (like me) dont mind if it is installed.

Which ever way should have mail build by default, and then have some way
to disable it if you really dont want it build.  My opinion anyhow.
Comment 5 Arcady Genkin (RETIRED) gentoo-dev 2002-06-14 08:31:25 UTC
My vote is to enable everything by default, but to use build-time environment
variables to allow disabling mail and news.  E.g.

   env NO_MAIL=YES emerge mozilla
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-17 14:43:29 UTC
Could work as well.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-24 18:04:27 UTC
Updated 1.0-r2 with Arcady Genkin's idea.
Comment 8 Arcady Genkin (RETIRED) gentoo-dev 2002-06-25 09:53:58 UTC
Compilation worked, but the browser does not start for me:

tea:~$ mozilla 
*** Failed to load overlay 
chrome://messenger/content/mailNavigatorOverlay.xul
*** Failed to load overlay chrome://messenger/content/mailTasksOverlay.xul
Warning add child failed!!
Warning add child failed!!

at which point the browser window comes up, but contains no buttons or 
anything at all (just a gray rectangle). :(  I tried moving ~/.mozilla away 
just in case this is profile-related, but the same happens even with a 
vanilla profile.
Comment 9 Toby Oxborrow 2002-07-03 15:26:33 UTC
What happened to the old system. Pre 1.0_rc1 of mozilla had USE options to
disable/enable certain features. Why were these removed?

The flags are listed at:
http://www.gentoo.org/doc/use-howto.html#doc_chap2

quote...

MOZILLA FLAGS 

mozilla -- Adds Mozilla support to other applications
When emerging mozilla, you may want to keep the following flags in mind:
mozaccess-builtin -- Adds to text-to-speech and eventually braille support
mozctl -- Adds Pango like module to mozilla
mozirc -- adds an IRC (Internet Relay Chat) module
mozxmlterm -- Adds an xterm like terminal with XML support

I'm in favour of using these again, plus adding mail-news to the list of
available flags, since I never use the mail-news package and dont see why I
should wait for it to add an extra hour compiling these extra packages I dont use.
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-07 07:06:23 UTC
Those USE flags are still there, although as still stated in the ebuild
(please check for availible flags), they are EXPERIMENTAL.

I still think that mail/news should be enabled by default, as it takes longer
to recompile, than compiling the mail/news components.  Ill add a "moznomail"
flag as well for those that do not want it.

As for moz not working without mail/news support .. works fine here.  If not
for you, please file a bug with the mozilla bugtrack system.
Comment 11 Toby Oxborrow 2002-07-29 12:47:47 UTC
Erm... are you sure they are still there?
I've had "-mozirc" in my USE variables since I found out about the flags around
0.9.9 yet 1.0 still compiles chatzilla.

I'm only checking with grep on the ebuild but that should be enough to know if
the flag is used, shouldnt it?

toby@wataru mozilla $ grep -i 'mozirc' mozilla-1.1_beta.ebuild
toby@wataru mozilla $ grep -i 'mozirc' mozilla-1.0-r1.ebuild   
toby@wataru mozilla $ grep -i 'mozirc' mozilla-0.9.9-r2.ebuild 
        if [ "`use mozirc`" ] ; then
toby@wataru mozilla $ 

Like I said before, i'm all in favour of disabling mail/news, I've never had any
issues by not having it. I have no problem having it enabled by default, thats
the best policy, as long as those who dont want it can turn it off.

Just as a side note, it seems odd if you were to create a new flag to call it
"moznomail" since the others dont have 'no' in them, and they are enabled by
default too. But I see it's in the ebuild already, so it's not important, just
would have kept a sense of consitancy.
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-29 16:27:19 UTC
As from 1.0, chatzilla is part of the default modules, sorry.  If i find time
in the next millenia, ill see about hacking around it.