Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 10:39:50 -0500 (EST)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Maxim Sobolev <sobomax@FreeBSD.ORG>
Cc:        Ade Lovett <ade@FreeBSD.ORG>, Jeremy Lea <reg@FreeBSD.ORG>, <freebsd-gnome@FreeBSD.ORG>
Subject:   Re: A mozilla lite port.
Message-ID:  <20020213102953.G65221-100000@shumai.marcuscom.com>
In-Reply-To: <3C6A821D.6C235A89@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 13 Feb 2002, Maxim Sobolev wrote:

> Ade Lovett wrote:
> >
> > On 02/13/02 08:21, "Maxim Sobolev" <sobomax@FreeBSD.org> wrote:
> >
> > > Ade Lovett wrote:
> > >>
> > >> On 02/13/02 03:48, "Maxim Sobolev" <sobomax@FreeBSD.org> wrote:
> > >>> You don't really need this, because mozilla, mozilla-embedded and
> > >>> mozilla-headers share *the same* WRKSRC, so that whatever your
> > >>> installation order is the mozilla being built only once. This was one
> > >>> of the primary design goals of the mozilla-embedded/mozilla-headers.
> > >>
> > >> Yes.  However, consider the all-too-familiar scenario:
> > >>
> > >>     cd /usr/ports/x11/gnome; make install clean
> > >>     cd /usr/ports/x11/gnome-fifth-toe; make install clean
> > >>
> > >> And watch www/mozilla being built twice.
> > >
> > > This is the price one pays for not thinking the process out. I do not
> > > see why we should do something about it.
> >
> > That's a ridiculous assumption.  If I have x11/gnome installed, and then
> > proceed on to x11/gnome-fifth-toe, having cleaned out apx 2GB (a signifcant
> > amount of data, even with today's drives) of expanded tarfiles and built
> > sources from x11/gnome, before starting on gnome-fifth-toe, then the very
> > first thing gnome-fifth-toe does is to build mozilla, having just, as the
> > second-to-last item of x11/gnome, built mozilla previously, to get
> > mozilla-embedded, for nautilus.  This is silly.
>
> Well, then just make nautilus using mozilla instead of
> mozilla-embedded. There is even knob for that in nautilus/Makefile. I
> do not see any other reasonable way to cope with the problem, do you?
> Perhaps we have to just nuke Mozilla from gnome-fifth-toe, considering
> that galeon could be used for browsing instead.


Nautilus wants to use mozilla-embedded period.  There is a galeon Makefile
option for FULL_MOZILLA, but not in nautilus.  Something should be added
to Nautilus' Makefile like this so that users can build one true Mozilla,
once:

--- Makefile.orig	Wed Feb 13 10:30:55 2002
+++ Makefile	Wed Feb 13 10:33:34 2002
@@ -21,7 +21,11 @@
 		eel.0:${PORTSDIR}/x11-toolkits/eel

 .if !defined(WITHOUT_MOZILLA)
+.if !defined(WITH_FULL_MOZILLA)
 MOZILLA=	mozilla-embedded
+.else
+MOZILLA=	mozilla
+.endif
 BUILD_DEPENDS+=	${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
 		${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
 RUN_DEPENDS=	${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
@@ -55,7 +59,14 @@

 .if !defined(WITHOUT_MOZILLA)
 pre-extract:
-	@${ECHO} "You can remove embedded mozilla support by defining WITHOUT_MOZILLA"
+.if !defined(WITH_FULL_MOZILLA)
+	@${ECHO_MSG}
+	@${ECHO_MSG} " By default the port uses mozilla-embedded for html rendering, but if you are"
+	@${ECHO_MSG} " planning to use both Mozilla and Galeon you can instruct it to use mozilla by"
+	@${ECHO_MSG} " defining \"WITH_FULL_MOZILLA\"."
+	@${ECHO_MSG}
+.endif
+	@${ECHO_MSG} "You can remove embedded mozilla support by defining WITHOUT_MOZILLA"
 .endif

 pre-patch:


As another consideration, since Mozilla embedded seems to cause problems
with Galeon, why not nuke it altogether, and force people to use
FULL_MOZILLA.  Then, with Jeremy's mozilla-lite port, this becomes a much
less daunting thing.  Just a thought.

Joe

>
> -Maxim
>
> > > Consider the following
> > > scenario:
> > >
> > > cd /usr/ports/x11/gnome; make install clean
> > > rm -rf /
> > > [bang]
> > > :)
> >
> > Whilst the smiley is noted, this is hardly a comparable situation, since I'm
> > staying well and truly within the realms of the ports tree :)
> >
> > -aDe
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
>
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213102953.G65221-100000>