Re: Yelp fork bonobo
"Nickolay V. Shmyrev" <[email protected]> Tue, 22 Mar 2005 19:05:44 +0300
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Message-ID | <[email protected]> |
=F7 =F7=D4=D2, 22/03/2005 =D7 10:59 +0100, mammique =D0=C9=DB=C5=D4: > No because this new interface looks different than Yelp, and if it is > run before Yelp then Yelp new window looks like Garbure, and vice versa, > i need normal Yelp and Garbure different and running at the same time. I > do not want to replace Yelp, just to have a different application based > on it running at the same time. >=20 > >=20 I was talking about Yelp CORBA interface, described in GNOME_Yelp.idl > > > but when i run it, it still use Yelp Bonobo pid (as > > > i understand), so MyApp and Yelp are handeled as the same application > > > inside Gnome, and each new window of Yelp or MyApp are the same. > >=20 > > You mean that Yelp interface and new Garbure interface now implemented > > in the same binary, don't you? > >=20 >=20 > Not really, i launche my Yelp-fork localy : >=20 > /home/mammique/garbure/garbure-board/yelp-2.6.5/src/yelp >=20 > But i have gnome installed on my system, so if i hit F1 on my Gnome > applications, it uses this running binary instead of running real Yelp > on my system, that the look and feel are different. >=20 > > > To > > > separate them (i need to run Yelp and MyApp at the same time), i > > > replaced "Yelp/YELP/yelp" by "Garbure/GARBURE/garbure", inside the Yelp > > > code, and renamed the files as well.=20 > >=20 Well, now I see what you want to do. Sorry, really unusual task. If you are going to develop completely different program, it's really better to rename "yelp" to garbure everywhere, just use sed for it :) If your renaming will be complete, you should get completely different program, that behaves like yelp and where you can do all changes you want. For example, remove gecko and use gtkhtml :) If you have problems with bonobo activation that means that your setup isn't full. For example, I see that you've installed garbure into custom directory. Check that bonobo-activation-server can find GNOME_Garbure.server file or adjust it with BONOBO_ACTIVATION_PATH and reload with killall bonobo-activation-server. If you'll have some problems with renamed version, make it available somewhere, I can look. What should be there. You should install your component description (.server file) into directory that bonobo-activation-server reads (/usr/lib/bonobo/servers or $BONOBO_ACTIVATION_PATH). When your application starts first, it queries b-a-s for running instances of your component. If there is no such instances, it registers one with apropriate OAFIID. When there is remote call to your component to create a new window. Everything is simple. Maintaining of such big project would be quite difficult task. Probably, all those features can go into yelp itself, what do yelp developers think about it? If the question is just in UI and one additional command line option I think there is no need to fork.=20