About firefox new layout

Jose M Rodriguez josemi at freebsd.jazztel.es
Wed Nov 17 02:58:19 PST 2004


El Miércoles, 17 de Noviembre de 2004 10:52, Michael Johnson escribió:
> On Nov 17, 2004, at 3:47 AM, Jose M Rodriguez wrote:
> > El Miércoles, 17 de Noviembre de 2004 05:52, Joe Marcus Clarke
> >
> > escribió:
> >> Jose M Rodriguez wrote:
>
> ---- snip ----
> [...]
> >> | This must be not only easier, but also safer.
>
> how is this easier and safer?
>

The most common way to install firefox is with firefox[-config] and 
run-mozilla.sh in the same dir.  This is the most proven layout from 
the mozilla comunity.

Doing that, we don't need ${FILESDIR}/patch-browser_app_mozilla.in.  And 
this really correct a bug.

Also, you may compare /usr/X11R6/bin/mozilla with /usr/X11R6/bin/firefox

At last here, doing the same or even more, I feel safer with mozilla 
way.

- You don't need to patch mainstream mozilla dist.
- It's smaller and more clean.

At a minimus, even a simple firefox like:
#!/bin/sh
#

exec /usr/X11R6/lib/firefox/firefox

Wil get you a more proven way to launch firefox

> >> | 3) problems with OpenURL()
> >> |
> >> | Now, we use a simple REMOTE OpenURL(${url}) that overwrite the
> >> | displaying page.  We use a REMOTE OpenURL(${url},new-tab) in
> >> | mozilla. we'll use some kinda of MOZILLA_OpenURL_LOC env in
> >> | firefox/mozilla with the same feel.
> >>
> >> Is there a question in here?
> >
> > my version of /usr/X11/bin/firefox right now is attached.  But I'm
> > not sure 100%. seems that firefox have config to alter the behavior
> > of OpenURL(<url>).
> >
> > In any way I'll prefer:
> > - drop ${FILESDIR}/patch-browser_app_mozilla.in (patch is not
> > needed)
>
> you submitted the patch =P

Yes.  And later see the layout change.

The patch is correct.  What I'm talking is about move this stuff to a 
previous script and link both through exec if not using REMOTE.

So we have our FreeBSD related stuff in ${PREFIX}/bin/firefox and the 
mainstream mozilla stuff (without patches) in 
${PREFIX}/lib/firefox/firefox

>
> > - install firefox[-config] under ${PREFIX}/lib/firefox
>
> Why install firefox[-config] in PREFIX/lib/firefox?
> I don't see any reason to do this. It's not like we have
> www/firefox-devel or anything
> that would conflict.

Please, read above and see how ${PREFIX}/bin/mozilla and 
${PREFIX}/lib/mozilla/mozilla work in the same way.

>
> > - install a brand new ${FILESDIR}/firefox.sh as
> > ${PREFIX}/bin/firefox
>
> So basically the only thing you want is when you open 2 sessions of
> firefox the
> 2nd session doesn't open but opens a new tab?
>

Not really.  This may be taken with or without script split.

I can send-pr to what is prefer:
- more patching to patch-browser_app_mozilla.in
- script split.

Also, if we go to script split, this must reach thunderbird also.

> Michael

--
  josemi



More information about the freebsd-gnome mailing list