Re: [PATCH] Allow to build several frontends in the same tree

2003-08-04 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > > | One problem I see with this approach: >> > | If the lyx-qt build fails, then all subsequent builds do not > | finish. > > So? Then that build should be made to work. Agreed. That is the whole point of running configure --with-frontend="qt xforms" -- A

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-04 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Sun, Aug 03, 2003 at 10:31:48AM +0200, Lars Gullik Bjønnes wrote: >> "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: >> >> | On Sat, Aug 02, 2003 at 08:43:53PM +0200, Jean-Marc Lasgouttes wrote: >> >> The following patch allows to compile several

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Indeed. Try again. Like a charm. Thanks, Alfredo

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Jean-Marc Lasgouttes
Alfredo Braunstein wrote: Thanks, now it compiles frontends/qt2 just fine. --with-frontend='qt xforms' I get now: Making all in forms Indeed. Try again. JMarc

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > I missed a makefile. Try again. Thanks, now it compiles frontends/qt2 just fine. --with-frontend='qt xforms' I get now: Making all in forms make[5]: Entering directory `/home/ab/lyx-cvs/build/src/frontends/xforms/forms' /bin/sh ../../../../../src/frontends/xforms/fo

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Jean-Marc Lasgouttes
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: Alfredo> Nevertheless, it seems that this is not exactly the problem Alfredo> (I don't know why I've mentioned it in fact), because Alfredo> QT_INCLUDES=/usr/lib/qt-3.1/include is correctly defined in Alfredo> makefiles, even if it

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Kayvan A. Sylvan
On Sun, Aug 03, 2003 at 10:31:48AM +0200, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | On Sat, Aug 02, 2003 at 08:43:53PM +0200, Jean-Marc Lasgouttes wrote: > >> The following patch allows to compile several frontends in the same > >> tree. If one configures ly

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> Perhaps not, but why not create RPM's lyx-xforms... lyx-qt... | Lars> and lyx-common then? > | This would make sense. and a separate lyx-docs as well. (this would also simpl

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > So how is configure supposed to find the Qt includes? Using QT_DIR? No idea, but it just used to work (I've never explicited the include path in the configure line). Nevertheless, it seems that this is not exactly the problem (I don't know why I've mentioned it in f

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Jean-Marc Lasgouttes
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: Alfredo> After an ./autogen.sh; mkdir build; cd build; ../configure \ Alfredo> --enable-maintainer-mode --disable-debug --with-frontend=qt Alfredo> I get the following: Alfredo> Note that there teh qt include path is not used in t

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > The following patch allows to compile several frontends in the same > tree. If one configures lyx with --with-frontends='qt xforms', for > example, the binaries lyx-qt and lyx-xforms are built, and lyx is > a symbolic link to lyx-qt. > > As it is now this is mostly a

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Perhaps not, but why not create RPM's lyx-xforms... lyx-qt... Lars> and lyx-common then? This would make sense. Lars> So IMHO the lyx.spec should build all possible frontends. Yes, but I do not know how to do that. JMarc

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> A single "./configure --with-frontend=foo" should create the Kayvan> lyx.spec file specific to the foo frontend. I don't think many Kayvan> people install multiple frontends. It should be what happens right now. Actually if you

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-03 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Sat, Aug 02, 2003 at 08:43:53PM +0200, Jean-Marc Lasgouttes wrote: >> The following patch allows to compile several frontends in the same >> tree. If one configures lyx with --with-frontends='qt xforms', for >> example, the binaries lyx-qt and ly

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-02 Thread Kayvan A. Sylvan
On Sat, Aug 02, 2003 at 08:43:53PM +0200, Jean-Marc Lasgouttes wrote: > The following patch allows to compile several frontends in the same > tree. If one configures lyx with --with-frontends='qt xforms', for > example, the binaries lyx-qt and lyx-xforms are built, and lyx is > a symbolic link to l

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-02 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | The following patch allows to compile several frontends in the same | tree. If one configures lyx with --with-frontends='qt xforms', for | example, the binaries lyx-qt and lyx-xforms are built, and lyx is | a symbolic link to lyx-qt. > | As it is

Re: [PATCH] Allow to build several frontends in the same tree

2003-08-02 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > The following patch allows to compile several frontends in the same > tree. If one configures lyx with --with-frontends='qt xforms', for > example, the binaries lyx-qt and lyx-xforms are built, and lyx is > a symbolic link to lyx-qt. This is niiice. ;-) Alfredo

[PATCH] Allow to build several frontends in the same tree

2003-08-02 Thread Jean-Marc Lasgouttes
The following patch allows to compile several frontends in the same tree. If one configures lyx with --with-frontends='qt xforms', for example, the binaries lyx-qt and lyx-xforms are built, and lyx is a symbolic link to lyx-qt. As it is now this is mostly a feature for developper, and not really me