I obviously had to forget the attachment. It wouldn't be fun otherwise. * Baruch Even <[EMAIL PROTECTED]> [010508 20:30]: > The attached patch fixes two compilation problems, the first is in > src/frontends/xforms/Menubar_pimpl.h > where there was a missing include, and in src/Makefile.am where I > changed library linkage order in order to get LyX to link at all. > > The problems were noticed when compiling for the gnome frontend. > > I have no CVS write access to these directories so please review and > apply. > > -- > Baruch Even > http://baruch.ev-en.org/ -- Baruch Even http://baruch.ev-en.org/
Index: src/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.159 diff -u -r1.159 ChangeLog --- src/ChangeLog 2001/05/08 13:28:42 1.159 +++ src/ChangeLog 2001/05/08 15:40:11 @@ -1,3 +1,8 @@ +2001-05-08 Baruch Even <[EMAIL PROTECTED]> + + * Makefile.am: Changed order of libraries to get LyX to link properly + with the gnome frontend. + 2001-05-08 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * paragraph.C (writeFile): reindent Index: src/Makefile.am =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/Makefile.am,v retrieving revision 1.80 diff -u -r1.80 Makefile.am --- src/Makefile.am 2001/04/06 12:35:59 1.80 +++ src/Makefile.am 2001/05/08 15:40:11 @@ -10,9 +10,9 @@ lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \ graphics/libgraphics.la \ frontends/libfrontends.la @FRONTEND_GUILIB@ \ - frontends/libfrontends.la \ frontends/controllers/libcontrollers.la \ frontends/support/libfrontendsupport.la support/libsupport.la \ + frontends/libfrontends.la \ @INCLUDED_SIGC@ lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \ $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@ Index: src/frontends/xforms/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.86 diff -u -r1.86 ChangeLog --- src/frontends/xforms/ChangeLog 2001/05/04 10:36:36 1.86 +++ src/frontends/xforms/ChangeLog 2001/05/08 15:40:18 @@ -1,3 +1,7 @@ +2001-05-08 Baruch Even <[EMAIL PROTECTED]> + + * Menubar_pimpl.C: Fixed compilation problem. + 2001-05-04 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * Menubar_pimpl.C (add_toc): use name and not type with float. Index: src/frontends/xforms/Menubar_pimpl.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/Menubar_pimpl.h,v retrieving revision 1.9 diff -u -r1.9 Menubar_pimpl.h --- src/frontends/xforms/Menubar_pimpl.h 2001/03/15 13:37:02 1.9 +++ src/frontends/xforms/Menubar_pimpl.h 2001/05/08 15:40:18 @@ -26,11 +26,9 @@ #include "LString.h" #include "frontends/Menubar.h" #include "commandtags.h" +#include "MenuBackend.h" class LyXView; -class MenuBackend; -class MenuItem; -class Menu; /** The LyX GUI independent menubar class The GUI interface is implemented in the corresponding Menubar_pimpl class.