On Wed, 26 Jul 2000, Juergen Vigna wrote:

> On 26-Jul-2000 Jean-Marc Lasgouttes wrote:
> > 
> > I think we should try the pure C++ route and remove the rest for now.
> > Therefore, we'll have to think twice before using the C functions
> > directly (or force the foo-- people to improve their support).
> > 
> > Could you send a patch?

The patch is attached. Before committing it I propose to move files
gnome--.m4 and gtk--.m4 from config/gnome to config and remove directory
config/gnome. 


> BTW.: We were discussing about your naming of the src/frontends/gtk
>       directory. Are you planing to do GNOME port or a GTK port?
> 

It seems to me that GNOME port will be easier to accomplish since GNOME
libraries have several useful additions comparing with plain GTK. For
example, to implement About dialog with GTK I had to write small class    
with actual implementation. The GNOME has this kind of dialog box already
and it is consistent with the similar boxes of other GNOME applications
(Gnumeric et al.). I think that this consistency with other GNOME
applications is very important and it should make learning and using LyX  
much easier for new users.

I am going on vacation this Friday and, unfortunately, I didn't have any
chance to work on LyX recently. To keep the porting to Gnome rolling it
might be wise to ask for help from Gnome programmers. However, before
announcement in Gnome news site we should be absolutely sure that
gnome/gtk frontend builds cleanly and LyX menu/toolbar system is ready for
porting. I think that there will be a great interest to this port but it
may vanish quickly if LyX is not ready yet. 

To build LyX as it is now with gtk/gnome frontend enabled one has to 

1. add symbolic links that point to ../xforms/Menubar_pimpl.C,
   ../xforms/Menubar_pimpl.h, ../xforms/Toolbar_pimpl.C, 
   ../xforms/Toolbar_pimpl.h from src/frontend/gtk

2. add these files to Makefile.am file listing (libgtk_la_SOURCES)

3. run configure with the following options:
   --with-frontend=gtk --without-included-libsigc --disable-sigctest
   --without-included-string

4. make


Marko


patch.gnome.cleanup.gz

Reply via email to