[MonoDevelop] monodevelop.in [PATCH]

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Nov 27 18:13:07 EST 2006

Hi Mike,

On 11/27/06, Mike Morano <mmorano at mikeandwan.us> wrote:
> When I modified this check to use '=' instead of '"', it properly pulled
> in the library path (in this case '/usr/lib64/mozilla-firefox') where it
> was pulling in 'MOZILLA_LIBDIR=/usr/lib64/mozilla-firefox' when using
> the '"' approach.

Hmm, this worries me. Andrés (knocte) said he had checked and found
that '"' was correct, so I suspect we may have to allow for both
possibilities (maybe using sed?). Getting a bad string is worse than
no string at all.

> Now I would bet that different distros opt to specify these environment
> variables in different ways and locations, but don't have any other
> distros to compare against.  In my opinion, this is a fairly fragile

>From my quick check, I think that using MOZILLA_LIBDIR and
mozilla-launcher is gentoo-specific.

> means to obtain this, but am not familiar enough to know if there are
> other constructs/facilities that are more reliable (perhaps a pkgconfig
> type of call that could obtain this path?)

pkg-config is only likely to work if you have Mozilla dev packages
installed. We do this in the configure script, and write it into the
launch script as the first place to look. The patch that yours is
being rolled into improves this too :)

Michael Hutchinson

More information about the Monodevelop-list mailing list