Thunderbird no longer viewing http URLs

Jose M Rodriguez josemi at freebsd.jazztel.es
Wed Feb 23 20:25:34 GMT 2005


El Miércoles, 23 de Febrero de 2005 18:53, Joe Marcus Clarke escribió:
> Jose M Rodriguez wrote:
> | El Miércoles, 23 de Febrero de 2005 09:35, Jose M Rodriguez 
escribió:
> |>El Miércoles, 23 de Febrero de 2005 09:16, Doug Barton escribió:
> |>>Jose M Rodriguez wrote:
> |>>>You need repocopy
> |>>>files/patch-uriloader_exthandler_unix_nsGNOMERegistry.cpp from
> |>>>mozilla and rebuild. (You may need also this for firefox, it's a
> |>>>-core fix).
> |>>>
> |>>>After that, thunderbird must use gnome settings to open external
> |>>>uris.
> |>>>
> |>>>I don't remenber the thunderbird case but, at last for firefox,
> |>>>this makes 'registration as default browser' init dialog works
> |>>
> |>>I appreciate the response, but I don't use gnome, and don't want
> |>> to have to add gnome bits that I don't need. I'm already a little
> |>> cheesed off that I can't seem to opt out of gconf being
> |>>"necessary."
> |>>
> |>>Doug
> |>
> |>Rigth now, the mozilla project uses gnome as a reference.  Also
> |> here in FreeBSD.
> |>
> |>This doesn't add any special new depend to mozilla/firefox.  It
> |>allready builds over gtk20.
> |>
> |>Also, at last for firefox, The apps have built-in the resources
> |>needed to change the gnome-registry.  This is what is done in the
> |>'registration as default browser'.
> |>
> |>The only aditional port you may need is sysutils/gconf-editor. 
> |> This may easy edit uri entries is you don't like the defaults. 
> |> You may launch gconf-editor from a xterm and edit
> |> desktop/gnome/url-handlers as you like.
> |>
> |>Also, you may use mozilla, which have a built-in mail app and
> |>external handlers disabled by default.
> |
> | I make a little mistake.  I build firefox/thunderbird with gnome
> | vfs support enabled.  Maybe that, if you don't have gconf2 or
> | libgnomevfs2 installed, external apps settings may work.
> |
> | I send a PR about a mozilla uri helper script (now closed).
> |
> | In any case, I'll ask gnome@ about:
> | - merge the uri patch to firefox/thunderbird
> | - take off the XFT knob
> | - make gnomevfs enabled in the default firefox/thunderbird build.
> |
> | I honest think that this is the way to go, even for non-gnome
> | users.
>
> I'm not so sure non-GNOME users will agree with you here.  I support
> your first two ideas, but I think making gnomevfs2 a mandatory
> dependency will piss off a lot of people.  Especially since you have
> things like:
>
> user_pref("network.protocol-handler.app.http", "firefox");
> user_pref("network.protocol-handler.app.https", "firefox");
>
> Joe
>

The main problem is that, after the uri patch, if you have gconf2 
installed, the network.protocol-handler.app may don't work. 

This is only used if mozilla apps can't read gnome registry, and I'm 
sure it doesn't work if you build with libgnomevf2 enabled.

I'm not sure if the libgnomevfs2 depend is really need, but we allready 
have a knob for this. Maybe better add a knob for only enabled gconf2 
RUN_DEPENDS.

I'm not talking about take-off the knob, but on change it from 'default 
disable' to 'default enabled'.  People really needing it may build 
firefox without libgnomevfs support.

The gconf based uri helper configuration is the only thing we can 'safe 
document' in a FAQ.

Also, the thunderbird->others case is more simple (http, https) that the 
firefox->others case (mailto, news, callto, ...)

Other point in the gconf2 thing is the auto registration.  You launch 
firefox and, if your gconf settings don't point to firefox for http and 
so, a dialog appear to make 'firefox your default browser', changing 
this to point at firefox.

--
  josemi


More information about the freebsd-ports mailing list