pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Odd firefox behaviour



On Tue, 15 Dec 2009 10:21:20 +1300
Mark Davies <mark%ecs.vuw.ac.nz@localhost> wrote:

> On Sat, 12 Dec 2009, Tobias Nygren wrote:
> > It a known problem that some components fail to load if apps are
> > started with the nsXULStub binary. That's why we have the wrapper
> > script in /usr/pkg/bin/firefox. I don't know if it's a NetBSD
> > specific problem or something wrong with the packaging. A possible
> > workaround would be to change the value that gets written to GConf.
> 
> Yes, I considered that as an option.  Do you happen to know where in 
> the code this is set or do I have to go hunting?

Try something like this:

--- browser/components/shell/src/nsGNOMEShellService.cpp.orig
+++ browser/components/shell/src/nsGNOMEShellService.cpp
@@ -131,6 +131,9 @@ nsGNOMEShellService::Init()
                    getter_AddRefs(appPath));
   NS_ENSURE_SUCCESS(rv, rv);
 
+  rv = appPath->AppendNative(NS_LITERAL_CSTRING("../../bin/"));
+  NS_ENSURE_SUCCESS(rv, rv);
+
   rv = appPath->AppendNative(NS_LITERAL_CSTRING(MOZ_APP_NAME));
   NS_ENSURE_SUCCESS(rv, rv);
 


Home | Main Index | Thread Index | Old Index