Re: running inplace during development

Duncan Coutts <[email protected]> Sun, 02 Nov 2003 01:37:09 +0000
Newsgroups gmane.comp.web.galeon.devel
Message-ID <1067737028.1931.414.camel@localhost>
On Sat, 2003-11-01 at 15:14, Ricardo Fernández Pascual wrote:
> El sáb, 01-11-2003 a las 02:58, Duncan Coutts escribió:
> > Hi all,
> > 
> > I'm trying to do some galeon hacking
> > (I'm looking at bug http://bugzilla.gnome.org/show_bug.cgi?id=69260).
> > 
> > My question is how do I run galeon inplace, in the build tree, rather
> > than doing make install? I really don't want to mess up my existing
> > galeon installation.
> 
> Try installing to a different prefix 
> (./configure --prefix=/tmpprefix ...)

Cheers that worked ok. :-)

So I was looking at bug #69260 which was about galeon opening new
windows on the wrong display when an instance is already running. The
scenario is that I log into my machine remotely and try to open an new
window, but galeon displays it on the local X display rather than the
remote one. This is because galeon contacts the existing instance to
open a new window but doesn't pass it the DISPLAY variable.

It turns out that this isn't to hard to do. (I claim it's easy on the
basis that I've never hacked on galeon before and it took me a couple
hours. :-) ) Obviously as I'm not familiar with the architecture & code
base, my patch is more than ugly, has no error checking etc.

Anyway, the details of the changes I made are in bugzilla:
http://bugzilla.gnome.org/show_bug.cgi?id=69260

If anyone wants, I'll make my patch work relative to the latest cvs.
(although to be honest I'd be a bit embarrassed to show you what I've
done to your code :-)

Thanks, hopefully we can get this one fixed.

Duncan



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/