Re: I have no CTRL-Key in 116cvs
On Sun, Aug 13, 2000 at 02:33:31PM +0200, ich wrote: > Timm Danker wrote: > > Currently, I´m stuck cause since the last cvs update (yesterday), the > > CTRL-key seems > > not working anymore > > hope I´m not asking too stupid questions (since noone replied), but I´m > still confused with this. I now did a complete cvs checkout into another > dir and compiled, and still, the C-someting bindings don´t work. are > they currently disabled? Or am I just too stupid to set it up correctly? > Ok, I can do without the CTRL-Key for now, but still would appreciate a > hint what I´m doing wrong with it. > > Timm I just don't see the problem in the latest 116cvs, so I'm not sure how to respond. Is this something that happened recently? Can you give me an explicit scenario that used to work and no longer does? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: lyx2pdf - pdf output
On Sun, Aug 13, 2000 at 11:38:04PM +0200, Steffen Evers wrote: > > A little shell script to translate lyx documents to pdf has come into being! > [...] > > Run pdflatex 9 times > for runno in 1 2 3 4 5 6 7 8 9 > do >echo >echo " PDF Latex run no. $runno *" >echo >pdflatex ${LYXPATH}${DOCUMENTBASE}-pdf.tex > done I have a question: Why 9 times? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: Problems with src.rpm file
On Mon, Aug 14, 2000 at 09:57:42AM +0200, Michael Zapf wrote: > I tried to install the lyx-1.1.5fix1-1.src.rpm on my linux machine but I > could not compile it. The included spec file contains a version > information like "lyx-1.1.6cvs" which obviously does not match the > downloaded version. If this is an error, who should I inform about this? > (If not, what can I do to compile it? I know I could use the plain > archive files but I'd like to learn using the rpm.) This was fixed shortly after release on ftp.sylvan.com, but it apparently never made it to ftp.devel.lyx.org Just re-copy the one from my ftp directory. Lars, JMarc, please fix the lyx-1.1.5fix1.src.rpm on the LyX site by recopying it from my ftp area. Thanks! ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Latest LyX RPM generation error
On Mon, Aug 14, 2000 at 03:00:20AM -0700, Cron Daemon wrote: > cvs server: Updating . > P ChangeLog > cvs server: warning: acinclude.m4 is not (any longer) pertinent > P autogen.sh > P configure.in > cvs server: Updating config > U config/gnome.m4 > P config/lyxinclude.m4 > [...] > P forms/bullet_forms.C.patch > P forms/fdfix.sh > P forms/lyx.fd > P forms/makefile > cvs server: Updating images > cvs server: Updating intl > cvs server: Updating lib > P lib/.cvsignore > P lib/Makefile.am > cvs server: warning: lib/listerrors is not (any longer) pertinent Yay!! [...] > + [ -r /usr/lib/libstdc++-libc6.1-1.so.2 ] > + make CXX=gcc LYX_LIBS=/usr/lib/libstdc++-libc6.1-1.so.2 -lforms -lXpm > make[1]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs' > Making all in intl > make[2]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/intl' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/intl' > Making all in po > make[2]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/po' > make[2]: *** No rule to make target `../src/frontends/gnome/FormPrint.C', needed by >`lyx.pot'. Stop. > make[2]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/po' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs' > Bad exit status from /var/tmp/rpm-tmp.95659 (%build) > make: *** [rpmdist] Error 1 > > BUILD FAILED: lyx rpm > This looks like a problem with some files that are not getting put in the tar file (a ``make dist'' problem) but I don't have time to track it down right now. Can anyone else track this down and fix it? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: Latest LyX RPM generation error
On Mon, Aug 14, 2000 at 09:09:17PM +0200, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | > make[2]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/intl' > | > make[2]: Nothing to be done for `all'. > | > make[2]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/intl' > | > Making all in po > | > make[2]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/po' > | > make[2]: *** No rule to make target > `../src/frontends/gnome/FormPrint.C', needed by `lyx.pot'. Stop. > > Did you run autogen? Of course. This is my automated RPM generation stuff, I do a make maintainer-clean; ./autogen.sh; ./configure and then I do ``make rpmdist'' -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: Latest LyX RPM generation error
On Mon, Aug 14, 2000 at 11:50:02AM -0700, Kayvan A. Sylvan wrote: > > > > BUILD FAILED: lyx rpm > > > > This looks like a problem with some files that are not getting put in the > tar file (a ``make dist'' problem) but I don't have time to track it down > right now. This is certainly the case. It looks like the new directories forntends/gnome and frontends/kde and their associated files are not getting put into the tar archive made by "make dist". If somebody can fix that, then my automated RPM generation will start working again. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: ``make dist'' fix
On Tue, Aug 15, 2000 at 04:40:36PM -0300, Garst R. Reese wrote: > "Kayvan A. Sylvan" wrote: > > > > Here's the fix that allows me to once again build automated RPMs. > > > > -- > > Kayvan A. Sylvan | Proud husband of | Father to my kids: > > Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena > > http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory > > > > > >Name: DIFF > >DIFFType: Plain Text (text/plain) > >Encoding: 8bit > When I do a make distclean it tries twice on frontends/xforms and stops > (naturally) on "no rule ..." > Might this help? No, that's a different (but related) problem. My patch does not change that misbehavior at all. I'm looking into that one too. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: ``make dist'' fix
On Tue, Aug 15, 2000 at 04:40:36PM -0300, Garst R. Reese wrote: > When I do a make distclean it tries twice on frontends/xforms and stops > (naturally) on "no rule ..." > Might this help? > Garst Try this patch instead. This fixes both problems. Please apply. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v retrieving revision 1.489 diff -u -u -r1.489 ChangeLog --- ChangeLog 2000/08/15 09:40:02 1.489 +++ ChangeLog 2000/08/15 20:21:39 @@ -1,3 +1,9 @@ +2000-08-15 Kayvan A. Sylvan <[EMAIL PROTECTED]> + + * src/frontend/Makefile.am: Add gnome and kde to dist tar file. + Fix the ``make distclean'' problem (xforms was listed twice, + due to the generalizing the frontend). + 2000-08-15 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * src/WorkArea.C (work_area_handler): more work to get te Index: src/frontends/Makefile.am === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/Makefile.am,v retrieving revision 1.7 diff -u -u -r1.7 Makefile.am --- src/frontends/Makefile.am 2000/08/14 15:17:54 1.7 +++ src/frontends/Makefile.am 2000/08/15 20:21:40 @@ -4,7 +4,7 @@ # xforms has to be fixed here as we still need object files in this directory # for the compilation of other frontends, so until that we have to let this # here. -SUBDIRS = xforms @FRONTEND@ +SUBDIRS = @FRONTEND@ ETAGS_ARGS = --lang=c++ INCLUDES = ${FRONTEND_INCLUDES} -I${srcdir}/.. -I${srcdir}/@FRONTEND@ -I${srcdir}/xforms ${SIGC_CFLAGS} LIBS = @@ -21,3 +21,7 @@ Toolbar.C \ Toolbar.h +EXTRA_DIST = kde gnome + +dist-hook: + cd $(distdir) ; rm -rf `find kde -name \*CVS\*`; rm -rf `find gnome -name +\*CVS\*`
Re: ``make dist'' fix
On Wed, Aug 16, 2000 at 09:31:43AM +0200, Juergen Vigna wrote: > > On 15-Aug-2000 Kayvan A. Sylvan wrote: > > On Tue, Aug 15, 2000 at 04:40:36PM -0300, Garst R. Reese wrote: > >> When I do a make distclean it tries twice on frontends/xforms and stops > >> (naturally) on "no rule ..." > >> Might this help? > >> Garst > > > > Try this patch instead. This fixes both problems. Please apply. > > Ok the fix with the EXTRA_DIST is ok the other one has to be fixed > somewhere else (I guess in the configure part!), this was introduced > by me so that gnome and kde frontend can build with ALL dialogs (also > the ones only in the xforms tree). > Maybe you should just make placeholder files that contain the hack: kde/foo.C: // This should be replaced with a real kde dialog! #include "../xforms/foo.C" Something like that would work for now and each file would get replaced by a real implementation. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: --export
> While trying to work out how I could generate Postscript from LyX > documents directly without actually opening the editor I stumbled across > the apparently undocumented --export option. Now this would actually do > the trick except that for some reason the editor is still opened even > though it exits as soon as the operation is complete. Is there any reason > for this? Yes, I know I could use a dummy X server but that just feels > ugly. Yes, the only way presently to do this is with a dummy X server. A patch, however, would most likely be very appreciated. ---Kayvan
What is table-insert renamed to?
Hi folks, What is the new name for table-insert? On starting up the latest lyx-1.1.6cvs, I get: MenuItem(): LyX command `table-insert' does not exist. MenuItem(): LyX command `screen-options' does not exist. MenuItem(): LyX command `spellchecker-options' does not exist. MenuItem(): LyX command `keyboard-options' does not exist. Toolbar::add: no LyX command called`table-insert'exists! -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
``make dist'' fix
Here's the fix that allows me to once again build automated RPMs. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory Index: src/frontends/Makefile.am === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/Makefile.am,v retrieving revision 1.7 diff -u -u -r1.7 Makefile.am --- src/frontends/Makefile.am 2000/08/14 15:17:54 1.7 +++ src/frontends/Makefile.am 2000/08/15 15:36:12 @@ -21,3 +21,7 @@ Toolbar.C \ Toolbar.h +EXTRA_DIST = kde gnome + +dist-hook: + cd $(distdir) ; rm -rf `find kde -name \*CVS\*`; rm -rf `find gnome -name +\*CVS\*` Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v retrieving revision 1.489 diff -u -u -r1.489 ChangeLog --- ChangeLog 2000/08/15 09:40:02 1.489 +++ ChangeLog 2000/08/15 17:08:25 @@ -1,3 +1,7 @@ +2000-08-15 Kayvan A. Sylvan <[EMAIL PROTECTED]> + + * src/frontend/Makefile.am: Add gnome and kde to dist tar file. + 2000-08-15 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * src/WorkArea.C (work_area_handler): more work to get te
lyx-1.1.5fixcvs RPMs are ready
Hi folk, The latest lyx-1.1.5fixcvs RPMs and tarball are now ready at ftp://ftp.sylvan.com/pub/lyx/devel/lyx-1.1.5/ Check these out and report poblems to the list. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
Re: I'm back, take 2 :)
On Thu, Sep 14, 2000 at 04:42:53PM -0400, hawk wrote: > > > Say that to thousends of emacs users. > > vile heretics, all :) I think it's no accident that the first two letters of VILE are "vi" :-) Seriously, I use both... So that makes me the worst type of vile heretic. > It's my fingers. More keystrokes leads to less typed output. > > hawk, who still needs to file bug reports on mkdir and rmdir, as any > commands that important should only be two letters . . . Use aliases ('md' and 'rd'). ---Kayvan
make dist oversight
Hi folk, This small patch fixes a ``make dist'' oversight (and lets my auto-compile and RPM generation proceed). However, even with this, I get the following errors on compilation: table.C:791: new declaration `class string LyXTable::GetPWidth(int)' table.h:173: ambiguates old declaration `const class string LyXTable::GetPWidth( int)' table.C:800: new declaration `class string LyXTable::GetAlignSpecial(int, int)' table.h:175: ambiguates old declaration `const class string LyXTable::GetAlignSp ecial(int, int)' make[4]: *** [table.o] Error 1 make[4]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6cvs/src' make[3]: *** [all-recursive] Error 1 ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory Index: ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v retrieving revision 1.532 diff -u -u -r1.532 ChangeLog --- ChangeLog 2000/09/15 21:33:03 1.532 +++ ChangeLog 2000/09/16 08:18:21 @@ -1,3 +1,8 @@ +2000-09-16 Kayvan A. Sylvan <[EMAIL PROTECTED]> + + * src/Makefile.am: Add sources to lyx_SOURCES so they will be + included in the ``make dist'' tarball. + 2000-09-15 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * src/lyxfunc.C: construct correctly the automatic new file Index: src/Makefile.am === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/Makefile.am,v retrieving revision 1.53 diff -u -u -r1.53 Makefile.am --- src/Makefile.am 2000/09/14 17:53:04 1.53 +++ src/Makefile.am 2000/09/16 08:18:22 @@ -207,6 +207,8 @@ spellchecker.C \ spellchecker.h \ stl_string_fwd.h \ + table.h \ + table.C \ tabular.C \ tabular.h \ tex-accent.C \
CVS compile error - easy fix
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I..-isystem /usr/X11R6/include -O2 -m486 >-fno-strength-reduce -c table.C > table.C:791: new declaration `class string LyXTable::GetPWidth(int)' > table.h:173: ambiguates old declaration `const class string LyXTable::GetPWidth(int)' > table.C:800: new declaration `class string LyXTable::GetAlignSpecial(int, int)' > table.h:175: ambiguates old declaration `const class string >LyXTable::GetAlignSpecial(int, int)' > make[4]: *** [table.o] Error 1 Here is the easy fix for src/table.C to make it consistent with src/table.h -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory Index: src/table.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/table.C,v retrieving revision 1.32 diff -u -r1.32 table.C --- src/table.C 2000/09/14 17:53:06 1.32 +++ src/table.C 2000/09/16 16:08:20 @@ -787,7 +787,7 @@ return column_info[column_of_cell(cell)].alignment; } -string LyXTable::GetPWidth(int cell) +string const LyXTable::GetPWidth(int cell) { int fvcell = FirstVirtualCell(cell); @@ -796,7 +796,7 @@ return column_info[column_of_cell(fvcell)].p_width; } -string LyXTable::GetAlignSpecial(int cell, int what) +string const LyXTable::GetAlignSpecial(int cell, int what) { if (what == SET_SPECIAL_MULTI) return cellinfo_of_cell(cell)->align_special;
Re: cvs down?
On Thu, Dec 19, 2002 at 09:50:13PM -0500, Nirmal Govind wrote: > Hi.. I'm trying to update my cvs but after entering the passwd, it just > waits and doesn't do anything... > > Thanks, > nirmal It should be up now... My machine was being rebuilt. :-( ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) msg50203/pgp0.pgp Description: PGP signature
Re: lyx-1.2.2 rpm
> I do not want to annoy you with those remarks. Now that we have a > chance to have decent binary distributions for 1.2.2, let's not spoil > that with a lot of non-coordinated files put together in some > directory. I would like also to have some kind of centralized file > containing a description of all these different packages (which options?). > > Kayvan, we need you! Thanks, Jean-Marc. I believe my system is back up now (thank goodness for backups!!!). I will put together these things in a few hours at this point. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Collecting the LyX-1.2.2 RPMs (and a problem)
I am finally completely operational again and have built the xforms-1.0 release RPMs and lyx-1.2.2 RPMs. Would everyone else who has built the RPMs point me to their versions (with any system-identifying information, for example: built on RH-8.0 against which version of xforms)? I would like to collect and tabulate all the versions so I can hand off to JMarc something a bit more organized for Linux binary distributions. I think that for most Linux distributions, matching up the C library and the xforms version should work, so I am thinking of arranging it all in a web page table of links. ---Kayvan P.S. I just noticed that my compiled lyx is not using the shared xforms library. Does anyone have any idea as to why this might be happening??!! -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Collecting the LyX-1.2.2 RPMs (and a problem)
Answering my own email > P.S. I just noticed that my compiled lyx is not using the shared xforms > library. Does anyone have any idea as to why this might be happening??!! I was missing the libforms.so and libflimage.so links (these are not updated by ldconfig). Should I adjust the xforms RPM to set these up in the %post section and remove them in the %postun section? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
lyx-1.3 CVS "make rpmdist" patch
lyx.spec needs to be a part of the tar file. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) Index: development/Makefile.am === RCS file: /cvs/lyx/lyx-devel/development/Makefile.am,v retrieving revision 1.1 diff -u -u -r1.1 Makefile.am --- development/Makefile.am 2002/12/18 09:30:00 1.1 +++ development/Makefile.am 2002/12/29 00:48:11 @@ -2,4 +2,4 @@ EXTRA_DIST = boostworkaround.txt ChangeLog Code_rules FORMAT \ gettext.patch lazy_lyxtext.txt lyx3 lyx.rpm.README \ - lyxserver lyx.spec.in OS2 Seminar.txt TodoPlan-1.3 tools Win32 + lyxserver lyx.spec lyx.spec.in OS2 Seminar.txt TodoPlan-1.3 tools Win32
Re: lyx-1.3 CVS "make rpmdist" patch
On Mon, Dec 30, 2002 at 10:30:26AM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | lyx.spec needs to be a part of the tar file. > > What impact does this have on "make distcheck"? Seems to work. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
LyX auto-build fails
compatible install... /usr/bin/install -c checking for perl >= 5.002... /usr/bin/perl creating ./config.status creating Makefile creating reLyX creating noweb2lyx Configuration Host type: i686-pc-linux-gnu Special build flags:warnings assertions xforms-image-loader C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (2.95.1) C++ Compiler flags: -g -O -fpermissive -ftemplate-depth-30 -W -Wall Linker flags: Frontend: xforms libXpm version: 4.11 libforms version: 1.0.0 LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it. chmod -R a+w lyx-1.3.0pre2 >/dev/null 2>&1; rm -rf lyx-1.3.0pre2 mkdir lyx-1.3.0pre2 /bin/sh ./config/mkinstalldirs lyx-1.3.0pre2/development lyx-1.3.0pre2/intl lyx-1.3.0pre2/po lyx-1.3.0pre2/sourcedoc lyx-1.3.0pre2/src mkdir lyx-1.3.0pre2/development mkdir lyx-1.3.0pre2/intl mkdir lyx-1.3.0pre2/po mkdir lyx-1.3.0pre2/sourcedoc mkdir lyx-1.3.0pre2/src for subdir in config development intl po boost src sourcedoc lib; do \ if test "$subdir" = .; then :; else \ test -d lyx-1.3.0pre2/$subdir \ || mkdir lyx-1.3.0pre2/$subdir \ || exit 1; \ (cd $subdir && \ make \ top_distdir="." \ distdir=../lyx-1.3.0pre2/$subdir \ distdir) \ || exit 1; \ fi; \ done make[1]: Entering directory `/home/kayvan/src/lyx/config' make[1]: Leaving directory `/home/kayvan/src/lyx/config' make[1]: Entering directory `/home/kayvan/src/lyx/development' Makefile:226: *** empty variable name. Stop. make[1]: Leaving directory `/home/kayvan/src/lyx/development' make: *** [distdir] Error 1 BUILD FAILED: lyx rpm - End forwarded message - -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: LyX auto-build fails
On Tue, Jan 21, 2003 at 12:52:24AM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | Note the "bad macro name" message when trying to create the Makefiles. > > No wonder... because of this: > > | C development/Makefile.am > > You have a CVS conflict. Yikes. Thanks. I missed that "C". -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
What is "rpmbuild"?
Make rpmdist now fails again on the latest CVS: /bin/sh /home/kayvan/src/lyx/config/missing --run tar chof - lyx-1.3.0pre2 | +GZIP=--best gzip -c >lyx-1.3.0pre2.tar.gz chmod -R a+w lyx-1.3.0pre2 >/dev/null 2>&1; rm -rf lyx-1.3.0pre2 ln -s lib/images/lyx.xpm . ; \ rpmbuild -ta lyx-1.3.0pre2.tar.gz ; saved_status=$?; \ rm lyx.xpm; exit $saved_status /bin/sh: rpmbuild: command not found make: *** [rpmdist] Error 127 -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: What is "rpmbuild"?
On Tue, Jan 21, 2003 at 03:14:39PM +, Angus Leeming wrote: > rpm has been split in 2 on RH8. "rpm" will install, update, query and > "rpmbuild" will generate an rpm from the source files. > > So, I guess that there needs to be a test for the presence of > rpmbuild somewhere. How about this? It works for me. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) Index: Makefile.am === RCS file: /cvs/lyx/lyx-devel/Makefile.am,v retrieving revision 1.42 diff -u -u -r1.42 Makefile.am --- Makefile.am 2003/01/18 22:42:57 1.42 +++ Makefile.am 2003/01/21 17:13:37 @@ -29,7 +29,12 @@ rpmdist: dist ln -s lib/images/lyx.xpm . ; \ - rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \ + if [ -z "`type -path rpmbuild`" ]; \ + then \ + RPMBUILD=rpm; \ + else \ + RPMBUILD=rpmbuild; \ + fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \ rm lyx.xpm; exit $$saved_status bindist:
Re: lost in perl
On Tue, Feb 04, 2003 at 10:25:22AM +, Angus Leeming wrote: > > Since then, I see Amir uses a function ref(...). Is this equivalent to > \@{...} ? [kayvan@satyr ~]$ perldoc -f ref ref EXPR ref Returns a true value if EXPR is a reference, false otherwise. If EXPR is not specified, `$_' will be used. The value returned depends on the type of thing the reference is a reference to. Builtin types include: SCALAR ARRAY HASH CODE REF GLOB LVALUE If the referenced object has been blessed into a package, then that package name is returned instead. You can think of `ref' as a `typeof' operator. if (ref($r) eq "HASH") { print "r is a reference to a hash.\n"; } unless (ref($r)) { print "r is not a reference at all.\n"; } if (UNIVERSAL::isa($r, "HASH")) { # for subclassing print "r is a reference to something that isa hash.\n"; } See also the perlref manpage. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: lost in perl
> Thanks Kayvan You're welcome. ``perldoc -f'' is extremely useful. Especially when I don't feel like going through the entire perlfunc documentation. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: lost in perl
On Tue, Feb 04, 2003 at 10:05:00PM +, Angus Leeming wrote: > On Tuesday 04 February 2003 9:36 pm, Kayvan A. Sylvan wrote: > > > Thanks Kayvan > > > > You're welcome. ``perldoc -f'' is extremely useful. Especially when I don't > > feel like going through the entire perlfunc documentation. > > Since you're on line, can I avail myself of your expertise? Sure. > I'm trying to debug the reLyX parser which currently chokes on a snipet like > > \makebox(1,0)[lb]{Verbatim} > which obviosly fails for an OptArg == '(1,0)'. Modifying the loop is easy: > > while ($curr_args =~ s/^o//) { > if ($fileobject->lookAheadToken eq '[') { > my $opt = $fileobject->eatOptionalArgument; > $tex_mode_string .= $opt->exact_print; > } else { > my $tmp = $fileobject->lookAheadToken; > print ("\nWeird OptArg starting '$tmp'\n"); > } > } How about this?? if (($fileobject->lookAheadToken eq '[') || ($fileobject->lookAheadToken eq '(')) { > (Incidentally, why do I have to copy $fileobject->lookAheadToken to a > temporary to print '(' rather than ' > 'Text::TeX::OpenFile=HASH(0x8333a80)->lookAheadToken') $fileobject is reference to a Text::TeX::OpenFile object, which is in fact represented as a hash. When you call $fileobject->lookAheadToken, you are in effect calling the perl subroutine Text::TeX::OpenFile::lookAheadToken with the $fileobject as its first argument. So, ``$tmp = $fileobject->lookAheadToken'' sets $tmp to the value returned by that subroutine. Read the perlobj amn perltoot man pages. > Back to the subject. > > What's not so obvious is what to put in place of the print statement. Do you > know (off the top of your head I know) if there's a subroutine in TeX.pm > already? No, I don't know. I would have to look at the source too. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
rsync for CVS repository updates failing
I am getting lots of these after a power failure brought my servers down and back up. - Forwarded message from Cron Daemon <[EMAIL PROTECTED]> - Date: 13 Feb 2003 01:20:01 - From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron cd /cvs/lyx; rsync -aCz --delete cvs.lyx.org::lyxcvs . @ERROR: max connections (4) reached - try again later - End forwarded message - -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
CVS LyX compile fails
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -I/usr/X11R6/include -O2 -fpermissive -ftemplate-depth-30 -W -Wall -c -o tex2lyx.o `test -f tex2lyx.C || echo './'`tex2lyx.C tex2lyx.C:13: sstream: No such file or directory -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: CVS LyX compile fails
On Tue, Feb 18, 2003 at 12:10:08PM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: > > Kayvan> g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost > Kayvan> -I/usr/X11R6/include -O2 -fpermissive -ftemplate-depth-30 -W > Kayvan> -Wall -c -o tex2lyx.o `test -f tex2lyx.C || echo > Kayvan> './'`tex2lyx.C tex2lyx.C:13: sstream: No such file or > Kayvan> directory > > I have the same problem with gcc 2.95.2. I tried to fix it, but then > gcc 3.2 users could not compile. The fix I tried was to replace > with "Lsstream.h", but for some reason this did not work. Replacing the with "Lsstream.h" does get past the compile problem for me. I am compiling now, so I will know if the whole thing works shortly. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: CVS LyX compile fails
On Wed, Feb 19, 2003 at 10:41:35AM -0800, Kayvan A. Sylvan wrote: > > Replacing the with "Lsstream.h" does get past the compile > problem for me. I am compiling now, so I will know if the whole thing > works shortly. > Yes, this does work. I now have the latest daily CVS tarball and RPMS in the usual place. What is the problem with making this change? What happens with gcc-3.2 users? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: patch for lyx.spec
I am looking over this patch. I don't think that the default lyx.spec should be qt-enabled. I will submit a patch which includes most (if not all) of Zvezdan's changes. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: patch for lyx.spec
On Wed, Feb 19, 2003 at 03:18:47PM -0800, Kayvan A. Sylvan wrote: > I am looking over this patch. > > I don't think that the default lyx.spec should be qt-enabled. I will > submit a patch which includes most (if not all) of Zvezdan's changes. Okay, this is the patch. It is basically the same as Zvezdan's patch, minus the --with-pspell and qt frontend. I think the lyx.spec.in should create xforms RPMs by default and should work with ispell. I want to know how many people use pspell versus ispell before I change that part. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) Index: development/lyx.spec.in === RCS file: /cvs/lyx/lyx-devel/development/lyx.spec.in,v retrieving revision 1.18 diff -u -u -r1.18 lyx.spec.in --- development/lyx.spec.in 2002/12/19 18:38:30 1.18 +++ development/lyx.spec.in 2003/02/20 08:20:37 @@ -1,16 +1,19 @@ +%define frontend xforms +%define frontdep libforms >= 1.0 + Summary: A WYSIWYM (What You See Is What You Mean) frontend to LaTeX Name: @PACKAGE@ Version: @VERSION@ -Release: 1 +Release: 1_%{frontend} Copyright: see COPYING file -Group: X11/Editors -Url: http://www.lyx.org/ +Group: Applications/Publishing +URL: http://www.lyx.org/ Packager: Kayvan A. Sylvan <[EMAIL PROTECTED]> -Source: ftp://ftp.lyx.org/pub/lyx/stable/lyx-%{PACKAGE_VERSION}.tar.gz -BuildRoot: %{_tmppath}/%{name}-root -Icon: lyx.xpm -Prefix: /usr -Requires: xforms >= 0.89, tetex-xdvi, tetex, tetex-latex +Source: ftp://ftp.lyx.org/pub/lyx/stable/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Icon: %{name}.xpm +Prefix: %{_prefix} +Requires: %{frontdep}, tetex-xdvi, tetex, tetex-latex Obsoletes: tetex-lyx %description @@ -30,14 +33,16 @@ With LyX, the author can concentrate on the contents of his writing, and let the computer take care of the rest. +This is LyX built with the %{frontend} frontend. + %prep %setup %build unset LINGUAS || true -./configure --prefix=%{_prefix} --mandir=%{_mandir} \ - --bindir=%{_bindir} --datadir=%{_datadir} \ - --without-warnings --disable-debug --enable-optimization=-O2 +./configure --with-frontend=%{frontend} --prefix=%{_prefix} \ + --mandir=%{_mandir} --bindir=%{_bindir} --datadir=%{_datadir} \ + --without-warnings --disable-debug --enable-optimization=-O2 make %install @@ -52,13 +57,13 @@ # TEXMF=%{_datadir}/texmf mkdir -p ${RPM_BUILD_ROOT}${TEXMF}/tex/latex -mv ${RPM_BUILD_ROOT}%{_datadir}/lyx/tex \ - ${RPM_BUILD_ROOT}/${TEXMF}/tex/latex/lyx +mv ${RPM_BUILD_ROOT}%{_datadir}/%{name}/tex \ + ${RPM_BUILD_ROOT}/${TEXMF}/tex/latex/%{name} # # Miscellaneous files # -cp -a lib/images/lyx.xpm ${RPM_BUILD_ROOT}%{_datadir}/lyx/images/ +cp -a lib/images/%{name}.xpm ${RPM_BUILD_ROOT}%{_datadir}/%{name}/images/ cp lib/reLyX/README README.reLyX %clean @@ -77,14 +82,13 @@ # Now configure LyX # echo "Configuring LyX for your system..." -cd %{_datadir}/lyx +cd %{_datadir}/%{name} ./configure --srcdir # Fix reLyX perl program if the prefix is non-standard if [ "%{_prefix}" != "/usr" ] then -perl -pi -e "s!/usr/share/lyx!%{_datadir}/lyx!" \ -%{_bindir}/reLyX +perl -pi -e "s!/usr/share/%{name}!%{_datadir}/%{name}!" %{_bindir}/reLyX fi %postun
Re: patch for lyx.spec
On Thu, Feb 20, 2003 at 08:31:37AM +, Angus Leeming wrote: > Kayvan A. Sylvan wrote: > > > On Wed, Feb 19, 2003 at 03:18:47PM -0800, Kayvan A. Sylvan wrote: > >> I am looking over this patch. > >> > >> I don't think that the default lyx.spec should be qt-enabled. I will > >> submit a patch which includes most (if not all) of Zvezdan's changes. > > > > Okay, this is the patch. It is basically the same as Zvezdan's patch, > > minus the --with-pspell and qt frontend. > > > > I think the lyx.spec.in should create xforms RPMs by default and should > > work with ispell. I want to know how many people use pspell versus ispell > > before I change that part. > > Kayvan, could it be made to honour the configure option > --with-frontend=xforms/qt ? After applying the patch, just change the top definitions to: %define frontend qt %define frontdep qt >= 2.2.1 That will give you qt instead of xforms. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: patch for lyx.spec
On Thu, Feb 20, 2003 at 08:52:43AM +, Angus Leeming wrote: > Kayvan A. Sylvan wrote: > >> Kayvan, could it be made to honour the configure option > >> --with-frontend=xforms/qt ? > > > > After applying the patch, just change the top definitions to: > > > > %define frontend qt > > %define frontdep qt >= 2.2.1 > > > > That will give you qt instead of xforms. > > Sure, I understand. It just seems to me that something calling itself '.in' > should be open to suggestions from the configure script. > > Anyway, it's a moot point since cvs.lyx.org has thrown a wobbly and is > refusing to play anymore. > > -- > Angus Oh. That would be good! ;-) Do you mean something like this? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) Index: config/ChangeLog === RCS file: /cvs/lyx/lyx-devel/config/ChangeLog,v retrieving revision 1.88 diff -u -u -r1.88 ChangeLog --- config/ChangeLog2003/02/18 18:00:51 1.88 +++ config/ChangeLog2003/02/20 10:20:11 @@ -1,3 +1,9 @@ +2003-02-20 Kayvan A. Sylvan <[EMAIL PROTECTED]> + + * configure.ac, configure.in: add RPM_FRONTEND stuff to + automatically generate an xforms or qt specific lyx.spec + file. + 2003-02-18 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * Makefile.am (EXTRA_DIST): add pkg.m4, relyx_configure.ac and Index: config/configure.ac === RCS file: /cvs/lyx/lyx-devel/config/configure.ac,v retrieving revision 1.28 diff -u -u -r1.28 configure.ac --- config/configure.ac 2003/02/17 01:49:10 1.28 +++ config/configure.ac 2003/02/20 10:20:11 @@ -148,6 +148,8 @@ LYX_PATH_XFORMS LYX_CHECK_XFORMS_IMAGE_LOADER FRONTEND="xforms" +RPM_FRONTEND="xforms" +RPM_FRONTEND_DEPS='libforms >= 1.0' FRONTEND_GUILIB="xforms/*.lo xforms/forms/*.lo" FRONTEND_INCLUDES="-I\$(srcdir)/xforms" case "$host" in @@ -177,6 +179,8 @@ dnl;; qt) QT_DO_IT_ALL +RPM_FRONTEND="qt" +RPM_FRONTEND_DEPS='qt >= 2.2.1' FRONTEND="qt2" FRONTEND_GUILIB="qt2/*.lo qt2/ui/*.lo qt2/moc/*.lo qt2/ui/moc/*.lo" FRONTEND_LDFLAGS="\$(QT_LDFLAGS)" @@ -375,6 +379,10 @@ src/frontends/qt2/ui/moc/Makefile \ src/frontends/gnome/Makefile \ ]) + +AC_SUBST(RPM_FRONTEND, 'xforms') +AC_SUBST(RPM_FRONTEND_DEPS, 'libforms >= 1.0') + AC_OUTPUT # show version information echo Index: config/configure.in === RCS file: /cvs/lyx/lyx-devel/config/configure.in,v retrieving revision 1.21 diff -u -u -r1.21 configure.in --- config/configure.in 2003/02/17 01:49:10 1.21 +++ config/configure.in 2003/02/20 10:20:11 @@ -151,6 +151,8 @@ LYX_PATH_XFORMS LYX_CHECK_XFORMS_IMAGE_LOADER FRONTEND="xforms" +RPM_FRONTEND="xforms" +RPM_FRONTEND_DEPS='libforms >= 1.0' FRONTEND_GUILIB="xforms/*.lo xforms/forms/*.lo" FRONTEND_INCLUDES="-I\$(srcdir)/xforms" case "$host" in @@ -182,6 +184,8 @@ dnl FRONTEND_LIBS="@XPM_LIB@ @XFORMS_LIB@ ${GNOME_FRONTEND_LIBS}";; qt) QT_DO_IT_ALL +RPM_FRONTEND="qt" +RPM_FRONTEND_DEPS='qt >= 2.2.1' FRONTEND="qt2" FRONTEND_GUILIB="qt2/*.lo qt2/ui/*.lo qt2/moc/*.lo qt2/ui/moc/*.lo" FRONTEND_LDFLAGS="\$(QT_LDFLAGS)" @@ -275,6 +279,8 @@ AC_SUBST(VERSION_INFO) +AC_SUBST(RPM_FRONTEND, 'xforms') +AC_SUBST(RPM_FRONTEND_DEPS, 'libforms >= 1.0') ### Finish the work. AC_CONFIG_SUBDIRS(lib lib/reLyX) Index: development/lyx.spec.in === RCS file: /cvs/lyx/lyx-devel/development/lyx.spec.in,v retrieving revision 1.18 diff -u -u -r1.18 lyx.spec.in --- development/lyx.spec.in 2002/12/19 18:38:30 1.18 +++ development/lyx.spec.in 2003/02/20 10:20:11 @@ -1,16 +1,19 @@ +%define frontend @RPM_FRONTEND@ +%define frontdep @RPM_FRONTEND_DEPS@ + Summary: A WYSIWYM (What You See Is What You Mean) frontend to LaTeX Name: @PACKAGE@ Version: @VERSION@ -Release: 1 +Release: 1_%{frontend} Copyright: see COPYING file -Group: X11/Editors -Url: http://www.lyx.org/ +Group: Applications/Publishing +URL: http://www.lyx.org/ Packager: Kayvan A. Sylvan <[EMAIL PROTECTED]> -Source: ftp://ftp.lyx.org/pub/lyx/stable/lyx-%{PACKAGE_VERSION}.
Re: patch for lyx.spec
On Thu, Feb 20, 2003 at 10:44:58AM +, Angus Leeming wrote: > Kayvan A. Sylvan wrote: > >> Sure, I understand. It just seems to me that something calling itself > >> '.in' should be open to suggestions from the configure script. > > > Oh. That would be good! ;-) > > > > Do you mean something like this? > > Something like that, yes ;-) > > Does it work? (and can you keep hold of this for 10 days until Lars returns > from his jolly jaunt to India and puts cvs.lyx.org back on its feet?) Yes, it works. I tested it. Yes, I can keep this in limbo while Lars gets back. > Isn't it time you went to bed? Must be 3am on the west coast... Yeah... My sleep schedule has been non-existent recently. Between watching back-to-back episodes of the Sopranos on DVD and my crazy work schedule, I am lucky to get 5 hours of sleep per night. Goodnight, y'all! ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: patch for lyx.spec
Now that baywatch is back up... I think we should put in the last patch I sent in last night that makes lyx.spec.in respond to the "configure --frontend" and also puts in the majority of Zvezdan's changes. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: patch for lyx.spec
On Thu, Feb 20, 2003 at 08:46:06PM +, Angus Leeming wrote: > Kayvan A. Sylvan wrote: > > > Now that baywatch is back up... > > > > I think we should put in the last patch I sent in last night that > > makes lyx.spec.in respond to the "configure --frontend" and also > > puts in the majority of Zvezdan's changes. > > Done Thanks. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: idea for enhanced selection
On Fri, Feb 21, 2003 at 01:28:24PM -0700, D. J. Raymond wrote: > > Selecting a large region with the mouse (bigger than a displayed page) > for cutting or copying in lyx is currently difficult in long documents > because when you drag the cursor off the bottom of the page, new pages > flip by very rapidly. Here are two suggestions as to how to solve > that problem: What is wrong with just pressing the shift button and (while holding down shift) hitting page-down a few times, then up-arrow, left-arrow, etc. to position the selection exactly where you want it? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
-isystem on Solaris
The comment in ChangeLog says: 2003-02-17 John Levon <[EMAIL PROTECTED]> * config/configure.ac: * config/configure.in: remove the -isystem fiddling. Let's see if Solaris people complain... I am complaining. Can you put it back please? Thanks. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: idea for enhanced selection
Hmmm... I don't know whether it's in the documentation or not. Anyone else know? If it's not, it should definitely be added. ---Kayvan On Fri, Feb 21, 2003 at 03:32:35PM -0700, D. J. Raymond wrote: > > Hmmm That works great! Is it in the documentation? I confess > to not having read every single word in the docs. > > Dave Raymond > > Kayvan A. Sylvan writes: > > On Fri, Feb 21, 2003 at 01:28:24PM -0700, D. J. Raymond wrote: > > > > > > Selecting a large region with the mouse (bigger than a displayed page) > > > for cutting or copying in lyx is currently difficult in long documents > > > because when you drag the cursor off the bottom of the page, new pages > > > flip by very rapidly. Here are two suggestions as to how to solve > > > that problem: > > > > What is wrong with just pressing the shift button and (while holding > > down shift) hitting page-down a few times, then up-arrow, left-arrow, > > etc. to position the selection exactly where you want it? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: -isystem on Solaris
On Sat, Feb 22, 2003 at 01:47:12AM +, John Levon wrote: > On Fri, Feb 21, 2003 at 02:25:22PM -0800, Kayvan A. Sylvan wrote: > > > 2003-02-17 John Levon <[EMAIL PROTECTED]> > > > > * config/configure.ac: > > * config/configure.in: remove the -isystem fiddling. Let's see > > if Solaris people complain... > > > > I am complaining. Can you put it back please? > > I want to know : > > a) what gcc version 26 simian > gcc -v Reading specs from /remote/tools/ksylvan/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.3/specs gcc version 2.95.3 20010315 (release) > b) why gcc doesn't do the correct fixincludes for your headers I don't know. fixincludes does not fix the /usr/openwin or /usr/X11R6 headers that are installed independant of GCC. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Problem with Solaris build of latest CVS
ormTabular.C:111: undefined reference to `build_tabular_longtable(void *)' collect2: ld returned 1 exit status make[3]: *** [lyx] Error 1 make[3]: Leaving directory `/disks/simian1/ksylvan/lyx/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/disks/simian1/ksylvan/lyx/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/disks/simian1/ksylvan/lyx/src' make: *** [all-recursive] Error 1 -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Problem with Solaris build of latest CVS
On Tue, Feb 25, 2003 at 07:05:49PM +, Angus Leeming wrote: > Kayvan A. Sylvan wrote: > > > Has anyone seen anything like this? > > > > xforms-1.0-release and gcc-2.95.3 on sunos-5.5.1 > > > frontends/.libs/libfrontends.a(FormBibtex.o): In function > > `FormBibtex::build(void)': > > /disks/simian1/ksylvan/lyx/src/frontends/xforms/FormBibtex.C:44: undefined > > reference to `build_bibtex(void *)' > > are the files in src/frontends/xforms/forms being compiled? > > form_bibtex.fd -> form_bibtex.[Ch] -> form_bibtex.o > > Are they being added to libfrontends in the link step in src/frontends? Hmmm... Looks like there might be a related "sed" issue: 44 simian > cd frontends/xforms/forms /disks/simian1/ksylvan/lyx/src/frontends/xforms/forms 45 simian > touch form_bibtex.fd 46 simian > make /bin/sh ./fdfix.sh form_bibtex.fd sed: hold space overflow ! /bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I./.. -I../../../../src -I/remote/tools/ksylvan/include -isystem /usr/openwin/include -g -O -Wno-non-template-friend -ftemplate-depth-30 -W -Wall -c form_bibtex.C g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I./.. -I../../../../src -I/remote/tools/ksylvan/include -isystem /usr/openwin/include -g -O -Wno-non-template-friend -ftemplate-depth-30 -W -Wall -Wp,-MD,.deps/form_bibtex.pp -c form_bibtex.C echo timestamp > form_bibtex.lo I will compile GNU sed and see what happens. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Problem with Solaris build of latest CVS
On Tue, Feb 25, 2003 at 09:33:43PM +, Angus Leeming wrote: > Kayvan A. Sylvan wrote: > >> Are they being added to libfrontends in the link step in src/frontends? > > > > Hmmm... > > > > Looks like there might be a related "sed" issue: > > ??? Why now? Nothing has changed here for ages. > > Presumably the culprit is c_str.sed Could you run fdfix.sh by hand and > ascertain where it falls over? Yes, it's the c_str.sed > > I will compile GNU sed and see what happens. > > Hmmm... I think I've heard people moan about the solaris sed on the sed list > in the past, but form_bibtex.C is 116 lines long. A snail has enough memory > to store that. Well, it looks like Solaris sed has less memory than a snail. I compiled GNU sed and am recompiling libfrontend.a again. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Problem with Solaris build of latest CVS
On Tue, Feb 25, 2003 at 01:46:57PM -0800, Kayvan A. Sylvan wrote: > > > Hmmm... I think I've heard people moan about the solaris sed on the sed list > > in the past, but form_bibtex.C is 116 lines long. A snail has enough memory > > to store that. > > Well, it looks like Solaris sed has less memory than a snail. > > I compiled GNU sed and am recompiling libfrontend.a again. Yes. That was it. I now have the same lyx-1.4.0cvs on Solaris, Linux and Cygwin. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Towards LyX 1.3.1 [status update #1]
On Wed, Feb 26, 2003 at 04:30:18PM +0100, Jean-Marc Lasgouttes wrote: > > It seems that 1.3.1 is beginning to have enough fixes in to warrant a > release. While there are no real show stopper in 1.3.0 (which is a > good thing), what we have now in 1.3.1cvs gives a lot of polish. > [...] > I'd be glad if some of you could take the time to check it out (or fix > a bug or two if you are feeling adventurous). Let me recall that all > these fixes have been checked in the branch BRANCH_1_3_X, which you > can get with the command > cvs checkout -d lyx-1_3_x -r BRANCH_1_3_X lyx-devel I have set up an automated build (twice a day) for this branch. The output is in ftp://ftp.sylvan.com/pub/lyx/devel and the build happens at 6AM and 6PM each day (PST). ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Towards LyX 1.3.1 [status update #1]
On Thu, Feb 27, 2003 at 08:39:59AM +, Angus Leeming wrote: > Kayvan A. Sylvan wrote: > > > I have set up an automated build (twice a day) for this branch. > > > > The output is in ftp://ftp.sylvan.com/pub/lyx/devel and the build > > happens at 6AM and 6PM each day (PST). > > Hi, Sylvan. Hello Angus, That should be "Hi, Kayvan." > I think that the lyx.README file is a little out of date, > talking as it does about lyx-1.2.0cvs.*.rpm. Why not change that to > lyx-1.x.ycvs.*.rpm? I've fixed it. Thanks. > Incidentally, and being greedy, any chance of Qt builds too? Hmmm... I'll look into it. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Towards LyX 1.3.1 [status update #1]
> > > > That should be "Hi, Kayvan." > > I know that. Realy I do ;-) Please accept my apologies. Sometimes my brain > doesn't function properly. No problem. I now have qt builds auto-generated, though I don't really know if they work for anyone. You can grab the 1.4cvs qt RPM and try it. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Bug with Checkout and Checkin (RCS)
Latest LyX-1.4.0cvs seems to have some bugs with respect to checkout and checkin and noticing changes in the readonly status of the current buffer. The "co" or "ci" happen, but the buffer readonly status is not correctly set. Anyone else see this? ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: CVS tips?
On Sat, Mar 01, 2003 at 03:26:28PM +1300, Michael A. Koziarski wrote: > hey guys, > > I've just purchased a new computer, so my old one needs to be put to > work. I was wondering, does anyone currently rsync the CVS tree and > work from there for testing things out? > > also, would anyone be interested in automatically produced nightly > snapshots from cvs? > > Cheers > > Koz I can send you my scripts that do the nightly builds from CVS here, if you want. The builds are available at ftp://ftp.sylvan.com/pub/lyx/devel Both the 1.4.x (head) and the 1.3.x CVS trees are automatically updated and built (twice a day) with both xforms and qt frontends. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Bug with Checkout and Checkin (RCS)
On Fri, Feb 28, 2003 at 01:10:59AM -0800, Kayvan A. Sylvan wrote: > Latest LyX-1.4.0cvs seems to have some bugs with respect to checkout and > checkin and noticing changes in the readonly status of the current buffer. > > The "co" or "ci" happen, but the buffer readonly status is not correctly > set. Anyone else see this behavior? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Bug with Checkout and Checkin (RCS)
On Fri, Feb 28, 2003 at 01:10:59AM -0800, Kayvan A. Sylvan wrote: > Latest LyX-1.4.0cvs seems to have some bugs with respect to checkout and > checkin and noticing changes in the readonly status of the current buffer. > > The "co" or "ci" happen, but the buffer readonly status is not correctly > set. > More info: Right after the "co" command, I see in the minibuffer: Command disabled (vc-check-out) However, the "co" command succeeded. The buffer is not reloaded like it was a week or two ago. The buffer is still in read-only state, even though the checkout of the file worked perfectly. My workaround: Close the buffer and re-open the file. Does any of the above ring a bell? Did someone change the way buffers are loaded or re-loaded recently? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
pspell compile error on Win32
Latest CVS: g++-2 -DHAVE_CONFIG_H -I. -I../../lyx/src -I. -I../../lyx/boost -I/usr/X11R6/include -O2 -Wno-non-template-friend -ftemplate-depth-30 -W -Wall -c -o pspell.o `test -f '../../lyx/src/pspell.C' || echo '../../lyx/src/'`../../lyx/src/pspell.C ../../lyx/src/pspell.C:20: pspell/pspell.h: No such file or directory make[3]: *** [pspell.o] Error 1 -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: The minibuffer
On Tue, Mar 04, 2003 at 09:27:36AM +0100, Lars Gullik Bjønnes wrote: > > Someone has been playing with it. > > F.ex. when building dvi there are no messges about the latex run. > > Also after running a command the shortcut just stays there until some > cursor movement. > > Can this be the Timeout patch? Or something else? Is this related in any way to the ci/co bug I have reported? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: pspell compile error on Win32
On Tue, Mar 04, 2003 at 09:50:14AM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | Latest CVS: > | > | g++-2 -DHAVE_CONFIG_H -I. -I../../lyx/src -I. -I../../lyx/boost > -I/usr/X11R6/include -O2 -Wno-non-template-friend -ftemplate-depth-30 -W -Wall -c > -o pspell.o `test -f '../../lyx/src/pspell.C' || echo > '../../lyx/src/'`../../lyx/src/pspell.C > | ../../lyx/src/pspell.C:20: pspell/pspell.h: No such file or directory > | make[3]: *** [pspell.o] Error 1 > > Interesting. > > where is pspell.h located on your box? Do you use any configure > options to tell where it is? > No special options, no. pspell.h is in LYX/src/ -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: pspell compile error on Win32
On Tue, Mar 04, 2003 at 09:46:53AM +, Angus Leeming wrote: > Lars Gullik Bjønnes wrote: > > (that is not the pspell.h I was talking about.) > > > > Ok, so you don't have pspell on your box, and we fail to detect that. > > > > I'll fix it somtime during today. > > being more specific, he doesn't have the pspell header files installed and > there is no test for this in configure. I had to install pspell-devel and > thereafter all was fine. For Win32 (Cygwin), I had to configure --without-pspell and it works fine now. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
automated CVS build failure on Linux
It looks like the pspell problem is not unique to Win32 > g++ -DHAVE_CONFIG_H -I. -I. -I. -I../boost -I/usr/X11R6/include -O2 -fpermissive > -ftemplate-depth-30 -W -Wall -c -o ispell.o `test -f ispell.C || echo './'`ispell.C > source='pspell.C' object='pspell.o' libtool=no \ > depfile='.deps/pspell.Po' tmpdepfile='.deps/pspell.TPo' \ > depmode=gcc /bin/sh ../config/depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I. -I../boost -I/usr/X11R6/include -O2 -fpermissive > -ftemplate-depth-30 -W -Wall -c -o pspell.o `test -f pspell.C || echo './'`pspell.C > pspell.C:20: pspell/pspell.h: No such file or directory -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: About linking problems in cygwin (Kayvan?)
I guess it does not matter much. The make process is slightly broken for Cygwin and for some Solaris machines (2.5.1) that I build on. Instead of trying to fix it, I have been lazy and I do this: make (wait till it fails with link errors) make >& src/BUILD Then I edit src/BUILD, removing everything but the final link step, and rearrange the library order (-lflimage before -lforms, add the missing -lintl). Then I link by: cd src; sh -xv BUILD; cd .. Then I finish the make and "make install". On Fri, Mar 07, 2003 at 12:04:46PM +0100, Jean-Marc Lasgouttes wrote: > > There have been complaints that lyx 1.3.0 does not link on cygwin, for > example point 4) of > http://www.mail-archive.com/[EMAIL PROTECTED]/msg52961.html > > This is related to the patch that has been added at Kayvan's request: > > case "$host" in > *cygwin) > FRONTEND_LIBS="@XFORMS_LIB@ @XFORMS_IMAGE_LIB@ @XPM_LIB@" > ;; > *) > FRONTEND_LIBS="@XFORMS_IMAGE_LIB@ @XFORMS_LIB@ @XPM_LIB@" > ;; > esac > > I would like to remove this special casing, since I do not understand > why it makes sense. Kayvan, do you have arguments for actually keeping > it? > > JMarc -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Bug with Checkout and Checkin (RCS)
On Mon, Mar 03, 2003 at 03:09:24PM -0800, Kayvan A. Sylvan wrote: > On Fri, Feb 28, 2003 at 01:10:59AM -0800, Kayvan A. Sylvan wrote: > > Latest LyX-1.4.0cvs seems to have some bugs with respect to checkout and > > checkin and noticing changes in the readonly status of the current buffer. > > > > The "co" or "ci" happen, but the buffer readonly status is not correctly > > set. > > > > More info: Right after the "co" command, I see in the minibuffer: > > Command disabled (vc-check-out) > > However, the "co" command succeeded. The buffer is not reloaded like > it was a week or two ago. The buffer is still in read-only state, > even though the checkout of the file worked perfectly. > > My workaround: Close the buffer and re-open the file. > > Does any of the above ring a bell? Did someone change the way buffers are > loaded or re-loaded recently? Can anyone please fix this? It is starting to get annoying. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Missing xpm file?
[EMAIL PROTECTED] ~/src/lyx] lyx Unable to find icon `dialog-show-next-inset_graphics' -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Bug with Checkout and Checkin (RCS)
On Sat, Mar 08, 2003 at 05:35:46AM +, John Levon wrote: > On Sat, Mar 08, 2003 at 04:05:23AM +, John Levon wrote: > > > I'll look at a solution pronto > > Kayvan, it would be great if you could apply this to current *1.3* CVS > and test it. Please also give "File->Revert" a try. First, John, your patch does make things better. The bugs that remain: 1) File->Revert comes up with a "Do you want to save your changes" dialog. I don't know if this makes sense. Hitting "Yes" makes that you have just saved your changes (which defeats the whole idea of revert). Better would be a "You are about to revert your changes. Are you sure?" OK/Cancel dialog. 2) vc-register (Version Control->Register) still has the same problem. > JMarc, please consider whether to apply before release. Sorry about > this. It looks like this patch was applied to the head. I also applied it to my local 1.3 CVS tree for testing. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Bug with Checkout and Checkin (RCS)
On Sat, Mar 08, 2003 at 05:57:03PM +, John Levon wrote: > On Sat, Mar 08, 2003 at 09:27:18AM -0800, Kayvan A. Sylvan wrote: > > > 1) File->Revert comes up with a "Do you want to save your changes" dialog. > >I don't know if this makes sense. Hitting "Yes" makes that you > >have just saved your changes (which defeats the whole idea of revert). > >Better would be a "You are about to revert your changes. Are you sure?" > >OK/Cancel dialog. > > Separate bug, please add to bugzilla. Ok. > > 2) vc-register (Version Control->Register) still has the same problem. > > Which same problem ? The "ci" succeeds, but the buffer should become read-only (it does not). -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Current CVS core dumps very easily
lyx --export, among other things, seems to dump core. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Current CVS core dumps very easily
On Mon, Mar 10, 2003 at 02:51:35AM +, John Levon wrote: > On Sun, Mar 09, 2003 at 06:19:45PM -0800, Kayvan A. Sylvan wrote: > > > lyx --export, among other things, seems to dump core. > > cvs up, make again Do I need to "make clean"? I did a "cvs update -dP; make" and the exact same symptoms remain. i.e. "lyx --export program foo.lyx" core-dumps. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: About linking problems in cygwin (Kayvan?)
On Mon, Mar 10, 2003 at 03:07:47PM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: > > Kayvan> I guess it does not matter much. The make process is slightly > Kayvan> broken for Cygwin and for some Solaris machines (2.5.1) that I > Kayvan> build on. > > Kayvan> Then I edit src/BUILD, removing everything but the final link > Kayvan> step, and rearrange the library order (-lflimage before > Kayvan> -lforms, add the missing -lintl). > > So you mean that you edit the link line by hand to work around the > problems introduced by _your_ patch? No. My patch used to work until recently on Cygwin. I think it worked until xforms-1.0 and it's separate -lflimage library. > OK, I'll just remove it and see whether somebody complains. That's fine. One of these days I will get annoyed enough to submit another patch for Cygwin, but meanwhile, I will be able to link by editing the generated link line. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Current CVS core dumps very easily
On Mon, Mar 10, 2003 at 10:11:46AM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | On Mon, Mar 10, 2003 at 02:51:35AM +, John Levon wrote: > | > On Sun, Mar 09, 2003 at 06:19:45PM -0800, Kayvan A. Sylvan wrote: > | > > | > > lyx --export, among other things, seems to dump core. > | > > | > cvs up, make again > | > | Do I need to "make clean"? > | > | I did a "cvs update -dP; make" and the exact same symptoms remain. > | > | i.e. "lyx --export program foo.lyx" core-dumps. > > This kind of reports are currently not wanted unless you can give some > kind of backtrace. > > If you get a core dump or not (or an abort) depends heavily on what > kind of document you have and what elements it contains. It doesn't matter at this point. I trashed my entire source-tree and re-initialized from CVS. Then did the usual ./autogen.sh and configure and make. Minus the link-time problems on Cygwin (which I will attack at some later point), the lyx executable runs without problems. ---Kayvan
Cygwin build patch (now can use GCC3)
This makes it possible to build lyx on Cygwin with GCC 3.2 (instead of requiring that lyx be built with GCC2). Please apply. There is still a problem with impgen.c and dlltool, but I think it may be an automake bug. I will track that down and fix it and post the results. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) Index: src/ChangeLog === RCS file: /cvs/lyx/lyx-devel/src/ChangeLog,v retrieving revision 1.1096 diff -u -r1.1096 ChangeLog --- src/ChangeLog 2003/03/10 17:49:23 1.1096 +++ src/ChangeLog 2003/03/11 13:13:35 @@ -1,3 +1,9 @@ +2003-03-11 Kayvan Sylvan <[EMAIL PROTECTED]> + + * Makefile.am: WIN32_LD_EXPORT_ALL_SYMBOLS added to lyx_LDADD + (see http://bugzilla.gnome.org/showattachment.cgi?attach_id=12253 + for related build bug). + 2003-03-10 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * buffer.C (latexParagraphs): move function from here... Index: src/Makefile.am === RCS file: /cvs/lyx/lyx-devel/src/Makefile.am,v retrieving revision 1.156 diff -u -r1.156 Makefile.am --- src/Makefile.am 2003/03/10 19:18:42 1.156 +++ src/Makefile.am 2003/03/11 13:13:35 @@ -16,7 +16,7 @@ BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \ ../boost/libs/signals/src/libboostsignals.la -lyx_LDADD = $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS) \ +lyx_LDADD = $(WIN32_LD_EXPORT_ALL_SYMBOLS) $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS) \ $(AIKSAURUS_LIBS) @LIBS@ #lyx_LDFLAGS=-Wl,-O1 Index: config/ChangeLog === RCS file: /cvs/lyx/lyx-devel/config/ChangeLog,v retrieving revision 1.95 diff -u -r1.95 ChangeLog --- config/ChangeLog2003/03/10 19:18:42 1.95 +++ config/ChangeLog2003/03/11 13:13:35 @@ -1,3 +1,8 @@ +2003-03-11 Kayvan Sylvan <[EMAIL PROTECTED]> + + * libtool.m4: Add some checks for Win32 GCC based on + info from http://bugzilla.gnome.org/showattachment.cgi?attach_id=12253 + 2003-03-10 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * pspell.m4: simplify pspell checking even more Index: config/libtool.m4 === RCS file: /cvs/lyx/lyx-devel/config/libtool.m4,v retrieving revision 1.5 diff -u -r1.5 libtool.m4 --- config/libtool.m4 2002/08/14 11:24:22 1.5 +++ config/libtool.m4 2003/03/11 13:13:36 @@ -1186,7 +1186,45 @@ # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no + else +# Ensure MSVC-compatible struct packing convention. +# Depends on GCC version. gcc2 uses -fnative-struct while +# gcc3 uses -mms-bitfields. +# +msnative_struct='' +AC_MSG_CHECKING([how to get MSVC-compatible struct packing]) +case `$CC --version | sed -e 's,\..*,.,' -e q` in +2.) + if $CC -v --help 2>/dev/null | grep fnative-struct > /dev/null; then +msnative_struct='-fnative-struct' + fi + ;; +*) + if $CC -v --help 2>/dev/null | grep ms-bitfields > /dev/null; then +msnative_struct='-mms-bitfields' + fi + ;; +esac +if test x"$msnative_struct" = x; then + AC_MSG_RESULT([no way]) + AC_MSG_WARN([produced libraries might be incompatible with MSVC libs]) +else + CXXFLAGS="$CXXFLAGS $msnative_struct" + AC_MSG_RESULT([${msnative_struct}]) +fi fi + + # Export all symbols to Win32 DLL using MinGW 2.0 ld. + WIN32_LD_EXPORT_ALL_SYMBOLS='' + AC_MSG_CHECKING([whether ld accepts --export-all-symbols]) + if $LD --help 2>&1 | egrep 'export-all-symbols' > /dev/null; then +WIN32_LD_EXPORT_ALL_SYMBOLS='-Wl,--export-all-symbols' +AC_MSG_RESULT([yes]) + else +AC_MSG_RESULT([no]) + fi + AC_SUBST(WIN32_LD_EXPORT_ALL_SYMBOLS) + ;; esac
Re: Bug with Checkout and Checkin (RCS)
On Tue, Mar 11, 2003 at 09:59:30PM +, John Levon wrote: > On Sat, Mar 08, 2003 at 03:01:48PM -0800, Kayvan A. Sylvan wrote: > > > > > 1) File->Revert comes up with a "Do you want to save your changes" dialog. > > > >I don't know if this makes sense. Hitting "Yes" makes that you > > > >have just saved your changes (which defeats the whole idea of revert). > > > >Better would be a "You are about to revert your changes. Are you sure?" > > > >OK/Cancel dialog. > > > > > > Separate bug, please add to bugzilla. > > > > Ok. > > Did you do this ? Yes. Just now. > > > > 2) vc-register (Version Control->Register) still has the same problem. > > > > > > Which same problem ? > > > > The "ci" succeeds, but the buffer should become read-only (it does not). > > Oops, good point. Fixing Great. Thanks. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Cygwin build patch (now can use GCC3)
On Tue, Mar 11, 2003 at 03:47:47PM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | This makes it possible to build lyx on Cygwin with GCC 3.2 (instead > | of requiring that lyx be built with GCC2). > | > | Please apply. > > Note that libtool.m4 is not our file. It is from the libtool package. > And that is where this patch should really go. Really? Maybe it should go to configure.ac and configure.in instead? In http://bugzilla.gnome.org/showattachment.cgi?attach_id=12253 the similar patch is done in configure.in > Have any of this been sent to the libtool people? No. How do I submit bugs to the libtool people? ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Cygwin build patch - impgen.c fix
On Tue, Mar 11, 2003 at 03:47:47PM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | This makes it possible to build lyx on Cygwin with GCC 3.2 (instead > | of requiring that lyx be built with GCC2). > | > | Please apply. > > Note that libtool.m4 is not our file. It is from the libtool package. > And that is where this patch should really go. > > Have any of this been sent to the libtool people? Today, I sent the patch off to the libtool people. Regardless, I think it should be applied to our own version of the file. At some future date, that version will get supplanted by the latest and greatest from libtool (which should hopefully contain the patch or some variant). In addition, the following patch fixes a problem that is introduced only in the LyX-specific version of the libtool.m4. There are suprious tab characters where spaces should be. This matters because the generated "impgen.c" file, used at the linking stage on Cygwin, will not compile (needing to be hand-massaged). With these patches, LyX on Cygwin now compiles cleanly with the latest Cygwin (GCC-3, XFree86, tetex), requiring no special hacks! ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) Index: config/libtool.m4 === RCS file: /cvs/lyx/lyx-devel/config/libtool.m4,v retrieving revision 1.5 diff -u -r1.5 libtool.m4 --- config/libtool.m4 2002/08/14 11:24:22 1.5 +++ config/libtool.m4 2003/03/12 21:34:49 @@ -2737,44 +2775,44 @@ # # dll = open(filename, O_RDONLY|O_BINARY); # if (dll < 1) -# return 1; +# return 1; # # dll_name = filename; # # for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') +# dll_name = filename + i +1; # # pe_header_offset = pe_get32 (dll, 0x3c); # opthdr_ofs = pe_header_offset + 4 + 20; # num_entries = pe_get32 (dll, opthdr_ofs + 92); # # if (num_entries < 1) /* no exports */ -# return 1; +# return 1; # # export_rva = pe_get32 (dll, opthdr_ofs + 96); # export_size = pe_get32 (dll, opthdr_ofs + 100); # nsections = pe_get16 (dll, pe_header_offset + 4 +2); # secptr = (pe_header_offset + 4 + 20 + -#pe_get16 (dll, pe_header_offset + 4 + 16)); +# pe_get16 (dll, pe_header_offset + 4 + 16)); # # expptr = 0; # for (i = 0; i < nsections; i++) # { -# char sname[8]; -# unsigned long secptr1 = secptr + 40 * i; -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); -# unsigned long vsize = pe_get32 (dll, secptr1 + 16); -# unsigned long fptr = pe_get32 (dll, secptr1 + 20); -# lseek(dll, secptr1, SEEK_SET); -# read(dll, sname, 8); -# if (vaddr <= export_rva && vaddr+vsize > export_rva) -# { -# expptr = fptr + (export_rva - vaddr); -# if (export_rva + export_size > vaddr + vsize) -# export_size = vsize - (export_rva - vaddr); -# break; -# } +# char sname[8]; +# unsigned long secptr1 = secptr + 40 * i; +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); +# unsigned long vsize = pe_get32 (dll, secptr1 + 16); +# unsigned long fptr = pe_get32 (dll, secptr1 + 20); +# lseek(dll, secptr1, SEEK_SET); +# read(dll, sname, 8); +# if (vaddr <= export_rva && vaddr+vsize > export_rva) +# { +# expptr = fptr + (export_rva - vaddr); +# if (export_rva + export_size > vaddr + vsize) +# export_size = vsize - (export_rva - vaddr); +# break; +# } # } # # expdata = (unsigned char*)malloc(export_size); @@ -2788,8 +2826,8 @@ # printf ("EXPORTS\n"); # for (i = 0; i
[maxb@ukf.net: Re: Addition for Cygwin]
Here is one response from the bug-libtool people. Should I rework the Cygwin patch to just go to configure.in? - Forwarded message from Max Bowsher <[EMAIL PROTECTED]> - From: "Max Bowsher" <[EMAIL PROTECTED]> To: "Kayvan A. Sylvan" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: Re: Addition for Cygwin Date: Wed, 12 Mar 2003 23:05:43 - Kayvan A. Sylvan wrote: >> Hello libtool maintainers, >> >> I am one of the people working on the LyX project. In order to get >> LyX >> to compile with the latest Cygwin, I had to make the following patch >> to libtool.m4. >> >> I am wondering if anything like this is in the upcoming >> autoconf/automake/libtool tool chain already. Is this something that >> should be done? No. Not all projects want these settings. The proper place for this in the configure.in of individual projects (see glib/gtk+ for an example use of conditional -mms-bitfields/-fnative-struct). Max. - End forwarded message - -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: [maxb@ukf.net: Re: Addition for Cygwin]
On Thu, Mar 13, 2003 at 12:43:06AM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | Here is one response from the bug-libtool people. Should I rework the Cygwin > | patch to just go to configure.in? > > Yes. Great. > Would it be possible to enclose this isn a CHECK_CYGWIN autoconf > function? Yes. I will give you a cywin-specific file to add to the config directory. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Cygwin patch, reworked
Here is a good, self-contained patch, touching only the build mechanism. Please apply, and "cvs add" config/cygwin.m4 -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) ? config/cygwin.m4 Index: ChangeLog === RCS file: /cvs/lyx/lyx-devel/ChangeLog,v retrieving revision 1.924 diff -u -r1.924 ChangeLog --- ChangeLog 2003/03/08 13:47:20 1.924 +++ ChangeLog 2003/03/13 01:00:11 @@ -1,3 +1,7 @@ +2003-03-12 Kayvan Sylvan <[EMAIL PROTECTED]> + + * autogen.sh (ACINCLUDE_FILES): Added cygwin.m4 + 2003-03-08 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * add bogus entry Index: autogen.sh === RCS file: /cvs/lyx/lyx-devel/autogen.sh,v retrieving revision 1.43 diff -u -r1.43 autogen.sh --- autogen.sh 2003/02/11 13:07:37 1.43 +++ autogen.sh 2003/03/13 01:00:11 @@ -4,7 +4,7 @@ AUTOHEADER="autoheader" AUTOMAKE="automake -a -c --foreign" AUTOCONF="autoconf" -ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 xforms.m4 qt.m4 gtk--.m4 gnome--.m4 gnome.m4 pspell.m4 pkg.m4" +ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 xforms.m4 qt.m4 gtk--.m4 gnome--.m4 gnome.m4 pspell.m4 cygwin.m4 pkg.m4" # Discover what version of autoconf we are using. autoversion=`$AUTOCONF --version | head -n 1` Index: config/ChangeLog === RCS file: /cvs/lyx/lyx-devel/config/ChangeLog,v retrieving revision 1.95 diff -u -r1.95 ChangeLog --- config/ChangeLog2003/03/10 19:18:42 1.95 +++ config/ChangeLog2003/03/13 01:00:42 @@ -1,3 +1,15 @@ +2003-03-12 Kayvan Sylvan <[EMAIL PROTECTED]> + + * configure.ac configure.in: Add the CHECK_WITH_CYGWIN macro call. + + * Makefile.am: add cygwin.m4 to EXTRA_DIST + + * cygwin.m4: Add CHECK_WITH_CYGWIN function to encapuslate + some checks for Win32 GCC based on info from the following URL: + http://bugzilla.gnome.org/showattachment.cgi?attach_id=12253 + + * libtool.m4: TAB to SPACE fixes. Now impgen.c compiles on Cygwin. + 2003-03-10 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * pspell.m4: simplify pspell checking even more Index: config/Makefile.am === RCS file: /cvs/lyx/lyx-devel/config/Makefile.am,v retrieving revision 1.7 diff -u -r1.7 Makefile.am --- config/Makefile.am 2003/02/18 18:00:51 1.7 +++ config/Makefile.am 2003/03/13 01:00:42 @@ -4,4 +4,4 @@ lyxinclude.m4 lyxinclude25x.m4 lyxinclude213.m4 \ glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 \ qt.m4 gtk--.m4 gnome--.m4 gnome.m4 pkg.m4 xforms.m4 pspell.m4 \ - relyx_configure.ac relyx_configure.in + relyx_configure.ac relyx_configure.in cygwin.m4 Index: config/configure.ac === RCS file: /cvs/lyx/lyx-devel/config/configure.ac,v retrieving revision 1.32 diff -u -r1.32 configure.ac --- config/configure.ac 2003/03/10 14:28:14 1.32 +++ config/configure.ac 2003/03/13 01:00:42 @@ -131,6 +131,9 @@ ### Check if we want pspell libraries CHECK_WITH_PSPELL +### Check for some Cygwin-specific details. +CHECK_WITH_CYGWIN + ### Check for X libraries # The real thing. AC_PATH_XTRA Index: config/configure.in === RCS file: /cvs/lyx/lyx-devel/config/configure.in,v retrieving revision 1.25 diff -u -r1.25 configure.in --- config/configure.in 2003/03/10 14:28:14 1.25 +++ config/configure.in 2003/03/13 01:00:43 @@ -134,6 +134,9 @@ ### Check if we want pspell libraries CHECK_WITH_PSPELL +### Check for some Cygwin-specific details. +CHECK_WITH_CYGWIN + ### Check for X libraries # The real thing. AC_PATH_XTRA Index: config/libtool.m4 === RCS file: /cvs/lyx/lyx-devel/config/libtool.m4,v retrieving revision 1.5 diff -u -r1.5 libtool.m4 --- config/libtool.m4 2002/08/14 11:24:22 1.5 +++ config/libtool.m4 2003/03/13 01:00:58 @@ -2737,44 +2737,44 @@ # # dll = open(filename, O_RDONLY|O_BINARY); # if (dll < 1) -# return 1; +# return 1; # # dll_name = filename; # # for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1; +# if (filename[i] == '/' || filename[i] == '\\' || filename
Re: File loading error.
On Thu, Mar 13, 2003 at 09:56:51AM +, John Levon wrote: > On Thu, Mar 13, 2003 at 08:44:41AM +0100, Andre Poenitz wrote: > > > > Add "\end_header" to the end of the header. I didn't bother bumping the > > > format because we already bumped it for the change tracking stuff. > > > > The rule is to bump the format number for _every_ change. > > > > Believe it or not, some people actually _use_ LyX. > > Sorry, I have ZERO sympathy for people trying to use it when we're not > in feature freeze. All testing is welcome (thanks Garst et al !) but to > an extent you're on your own. > > I'm not going to accept stupid version number bloat (with the > corresponding number of empty lyx2lyx files) for no reason at all As a person who builds and uses the most bleeding-edge versions of LyX, I agree with John. A simple intermediate change with an easy workaround ("just add \end_header to the end of the header") should not cause a version number change. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: File loading error.
On Thu, Mar 13, 2003 at 11:04:09AM +0100, Andre Poenitz wrote: > On Thu, Mar 13, 2003 at 02:06:57AM -0800, Kayvan A. Sylvan wrote: > > As a person who builds and uses the most bleeding-edge versions of LyX, > > I agree with John. A simple intermediate change with an easy workaround > > ("just add \end_header to the end of the header") should not cause > > a version number change. > > In any case it would be nice if people are informed of such changes. > > Andre' Agreed. Although John might say that LyX's "Unknown textclass" messages counts as notification. ;-) -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: File loading error.
On Thu, Mar 13, 2003 at 11:04:51AM +0100, Andre Poenitz wrote: > On Thu, Mar 13, 2003 at 02:06:57AM -0800, Kayvan A. Sylvan wrote: > > As a person who builds and uses the most bleeding-edge versions of LyX, > > I agree with John. A simple intermediate change with an easy workaround > > ("just add \end_header to the end of the header") should not cause > > a version number change. > > Btw: Why is this \end_header necessary? I don't know. Maybe it made it easier to parse? John? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Cygwin patch, reworked
On Wed, Mar 12, 2003 at 05:08:26PM -0800, Kayvan A. Sylvan wrote: > Here is a good, self-contained patch, touching only the build mechanism. > > Please apply, and "cvs add" config/cygwin.m4 Any idea as to when this will be applied?
Current CVS breaks literate support
Export a literate document via: lyx --export literate.lyx The resulting literate.nw has ^A characters where newlines should be. This breaks noweb, of course. Hoping that this is a simple fix. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Current CVS breaks literate support
On Fri, Mar 14, 2003 at 01:58:49AM +, John Levon wrote: > On Thu, Mar 13, 2003 at 05:54:03PM -0800, Kayvan A. Sylvan wrote: > > > Export a literate document via: > > > > lyx --export literate.lyx I mean: lyx --export literate literate.lyx
Re: Current CVS breaks literate support
On Fri, Mar 14, 2003 at 02:08:57AM +, John Levon wrote: > On Thu, Mar 13, 2003 at 06:01:15PM -0800, Kayvan A. Sylvan wrote: > > > I mean: > > > > lyx --export literate literate.lyx > > I know nothing about literate programming latex. Give a poor man a break > ... i.e. what format is this. ascii ? latex ? what ? Yes, it's simple ascii. Logically, it is equivalent to the latex export. In a Literate document, the flow is: LyX file -> Noweb file -> LaTeX file | \-> Generated program The noweb file has a ".nw" extension. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Current CVS breaks literate support (fixed)
On Fri, Mar 14, 2003 at 11:32:20AM +, John Levon wrote: > On Thu, Mar 13, 2003 at 11:20:31PM -0800, Kayvan A. Sylvan wrote: > > > > I know nothing about literate programming latex. Give a poor man a break > > > ... i.e. what format is this. ascii ? latex ? what ? > > > > Yes, it's simple ascii. Logically, it is equivalent to the latex export. > > I'm afraid you're going to have to do a little debugging yourself ... > the ASCII export for newline is in insets/insetnewline.C::ascii(). It > just outputs a newline to the file. So what is going wrong ?? Here is the fix. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) Index: src/ChangeLog === RCS file: /cvs/lyx/lyx-devel/src/ChangeLog,v retrieving revision 1.1123 diff -u -r1.1123 ChangeLog --- src/ChangeLog 2003/03/14 13:37:33 1.1123 +++ src/ChangeLog 2003/03/15 00:20:19 @@ -1,3 +1,9 @@ +2003-03-14 Kayvan Sylvan <[EMAIL PROTECTED]> + + * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the + newline inset which *can* get inserted in the pass_thru layouts. + This is primarily for literate documents. + 2003-03-14 Dekel Tsur <[EMAIL PROTECTED]> * buffer.C: increment LYX_FORMAT to 223 Index: src/paragraph_pimpl.C === RCS file: /cvs/lyx/lyx-devel/src/paragraph_pimpl.C,v retrieving revision 1.56 diff -u -r1.56 paragraph_pimpl.C --- src/paragraph_pimpl.C 2003/03/13 17:50:39 1.56 +++ src/paragraph_pimpl.C 2003/03/15 00:20:19 @@ -506,8 +506,13 @@ value_type const c) { if (style.pass_thru) { - if (c != '\0') - os << c; + if (c != Paragraph::META_INSET) { + if (c != '\0') + os << c; + } else { + Inset const * inset = owner_->getInset(i); + inset->ascii(buf, os, 0); + } return; }
Re: layout-paragraph
> > It is not possible with current CVS to get the dialog layout-paragraph. > > Neither from the menu "Layout->Paragraph..." > nor from the minipage "layout-paragraph". Verified on Linux, Solaris and Cygwin. [EMAIL PROTECTED] ~] lyx foo.lyx Dialog "paragraph" failed to translate the data string passed to show() ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Resend: Cygwin make patch (again)
I am resending my Cygwin make patch, since it has not been applied yet. Apply the following patch and add the attached cygwin.m4 to config. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) ? config/cygwin.m4 Index: ChangeLog === RCS file: /cvs/lyx/lyx-devel/ChangeLog,v retrieving revision 1.925 diff -u -r1.925 ChangeLog --- ChangeLog 2003/03/15 11:09:13 1.925 +++ ChangeLog 2003/03/15 19:48:09 @@ -2,6 +2,10 @@ * INSTALL: little fix +2003-03-12 Kayvan Sylvan <[EMAIL PROTECTED]> + + * autogen.sh (ACINCLUDE_FILES): Added cygwin.m4 + 2003-02-27 Angus Leeming <[EMAIL PROTECTED]> * INSTALL: better instructions for the Qt frontend Index: autogen.sh === RCS file: /cvs/lyx/lyx-devel/autogen.sh,v retrieving revision 1.43 diff -u -r1.43 autogen.sh --- autogen.sh 2003/02/11 13:07:37 1.43 +++ autogen.sh 2003/03/15 19:48:09 @@ -4,7 +4,7 @@ AUTOHEADER="autoheader" AUTOMAKE="automake -a -c --foreign" AUTOCONF="autoconf" -ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 xforms.m4 qt.m4 gtk--.m4 gnome--.m4 gnome.m4 pspell.m4 pkg.m4" +ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 xforms.m4 qt.m4 gtk--.m4 gnome--.m4 gnome.m4 pspell.m4 cygwin.m4 pkg.m4" # Discover what version of autoconf we are using. autoversion=`$AUTOCONF --version | head -n 1` Index: config/ChangeLog === RCS file: /cvs/lyx/lyx-devel/config/ChangeLog,v retrieving revision 1.95 diff -u -r1.95 ChangeLog --- config/ChangeLog2003/03/10 19:18:42 1.95 +++ config/ChangeLog2003/03/15 19:48:14 @@ -1,3 +1,15 @@ +2003-03-12 Kayvan Sylvan <[EMAIL PROTECTED]> + + * configure.ac configure.in: Add the CHECK_WITH_CYGWIN macro call. + + * Makefile.am: add cygwin.m4 to EXTRA_DIST + + * cygwin.m4: Add CHECK_WITH_CYGWIN function to encapuslate + some checks for Win32 GCC based on info from the following URL: + http://bugzilla.gnome.org/showattachment.cgi?attach_id=12253 + + * libtool.m4: TAB to SPACE fixes. Now impgen.c compiles on Cygwin. + 2003-03-10 Lars Gullik Bjønnes <[EMAIL PROTECTED]> * pspell.m4: simplify pspell checking even more Index: config/Makefile.am === RCS file: /cvs/lyx/lyx-devel/config/Makefile.am,v retrieving revision 1.7 diff -u -r1.7 Makefile.am --- config/Makefile.am 2003/02/18 18:00:51 1.7 +++ config/Makefile.am 2003/03/15 19:48:14 @@ -4,4 +4,4 @@ lyxinclude.m4 lyxinclude25x.m4 lyxinclude213.m4 \ glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 \ qt.m4 gtk--.m4 gnome--.m4 gnome.m4 pkg.m4 xforms.m4 pspell.m4 \ - relyx_configure.ac relyx_configure.in + relyx_configure.ac relyx_configure.in cygwin.m4 Index: config/configure.ac === RCS file: /cvs/lyx/lyx-devel/config/configure.ac,v retrieving revision 1.32 diff -u -r1.32 configure.ac --- config/configure.ac 2003/03/10 14:28:14 1.32 +++ config/configure.ac 2003/03/15 19:48:14 @@ -131,6 +131,9 @@ ### Check if we want pspell libraries CHECK_WITH_PSPELL +### Check for some Cygwin-specific details. +CHECK_WITH_CYGWIN + ### Check for X libraries # The real thing. AC_PATH_XTRA Index: config/configure.in === RCS file: /cvs/lyx/lyx-devel/config/configure.in,v retrieving revision 1.25 diff -u -r1.25 configure.in --- config/configure.in 2003/03/10 14:28:14 1.25 +++ config/configure.in 2003/03/15 19:48:14 @@ -134,6 +134,9 @@ ### Check if we want pspell libraries CHECK_WITH_PSPELL +### Check for some Cygwin-specific details. +CHECK_WITH_CYGWIN + ### Check for X libraries # The real thing. AC_PATH_XTRA Index: config/libtool.m4 === RCS file: /cvs/lyx/lyx-devel/config/libtool.m4,v retrieving revision 1.5 diff -u -r1.5 libtool.m4 --- config/libtool.m4 2002/08/14 11:24:22 1.5 +++ config/libtool.m4 2003/03/15 19:48:15 @@ -2737,44 +2737,44 @@ # # dll = open(filename, O_RDONLY|O_BINARY); # if (dll < 1) -# return 1; +# return 1; # # dll_name = filename; # # for (i=0; filename[i]; i++) -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') -# dll_name = filename + i +1;
Re: Resend: Cygwin make patch (again)
On Mon, Mar 17, 2003 at 01:15:21AM +0100, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | I am resending my Cygwin make patch, since it has not been applied yet. > | > | Apply the following patch and add the attached cygwin.m4 to config. > > You are not forgotten. Thank you, Oh great Keeper of the repository. :-) At this point, the patch has been tested with both GCC2 and GCC3 on Cygwin, Solaris 2.5 and 2.8, Redhat 6.X and 7.X. No ill effects, as far as I can see. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Dialog "paragraph" failed to translate the data string passed to show()
On Mon, Mar 17, 2003 at 05:39:44PM -0400, Garst R. Reese wrote: > First reported Fri. I think. I added a report to bugzilla today. > Anybody know what's happening here? No. I do know that it happens on all platforms. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: anoncvs down?
On Tue, Mar 18, 2003 at 11:57:37AM +0100, Alfredo Braunstein wrote: > Is anoncvs.us.lyx.org down? > > Regards, Alfredo > Not as far as I can see. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Another variation of the paragraph-layout bug
Start editing a non-existent file: lyx x.lyx Now, in the empty buffer, click Layout->Paragraph LyX: Bad integer `0x0' [around line 6 of file ~/] Dialog "paragraph" failed to translate the data string passed to show() -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
commandtags.h
Somebody probably forgot to add a new file to the dist: make[1]: Leaving directory `/home/kayvan/src/lyx/boost' make[1]: Entering directory `/home/kayvan/src/lyx/src' make[1]: *** No rule to make target `commandtags.h', needed by `distdir'. Stop. make[1]: Leaving directory `/home/kayvan/src/lyx/src' make: *** [distdir] Error 1 -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: 1.3.1 build on cygwin: problems
On Wed, Mar 19, 2003 at 01:53:01PM -0800, Max Bian wrote: > There are problems with the file src/.libs/impgen.c. It is not a valid > C file and it won't compile. Hi Max, This is due to a problem with config/libtool.m4 that was introduced by a faulty checkin (spaces were changed to tabs). If you look in the lyx-devel archives for the past week or so, you can see some cygwin related patches which you should be able to apply to lyx-1.3.1 which will fix the problem (as well as allow you to build using gcc3). If you can not find the patch, email me and I will send it to you. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
rsync problem
Is there a problem with baywatch? - Forwarded message from Cron Daemon <[EMAIL PROTECTED]> - Date: 23 Mar 2003 18:01:48 - From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron <[EMAIL PROTECTED]> cd /cvs/lyx; rsync -aCz --delete cvs.lyx.org::lyxcvs . failed to connect to cvs.lyx.org - No route to host - End forwarded message -
Re: LyX for Win32
On Mon, Mar 24, 2003 at 02:21:39PM +0100, Michael Schmitt wrote: > > All I can say is that I know a lot of people who would like to see LyX > on Windows. However, they are not willing to install a bunch of tools > (including a X server) before for that purpose. I don't understand the objection to the Cygwin tools. At this point, it's possible to simply download the latest Cygwin (including gcc, tetex, XFree86, etc.) and install the latest LyX "out of the box". It compiles, links, and runs beautifully. I compile it almost every day on Windows. You also have the added bonus that having Cygwin on a Windows box makes it infinitely more usable in my not so humble opinion. ;-) As an example: I have a Windows ME laptop at home that I can rlogin and ssh into. It runs a web server (Apache, of course) as well. All this, with the aid of the latest Cygwin tools. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Latest CVS compile error
Using gcc-3.2 on Cygwin: g++ -DHAVE_CONFIG_H -I. -I../../../../lyx/src/frontends/xforms -I../../../src -I../../../../lyx/images -I../../../../lyx/src -I../../../../lyx/src/frontends -I../../../../lyx/src/frontends/controllers -I../../../../lyx/boost -I/usr/X11R6/include -O2 -fno-exceptions -W -Wall -Winline -mms-bitfields -MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.Tpo -c ../../../../lyx/src/frontends/xforms/Alert_pimpl.C ../../../../lyx/src/frontends/xforms/Alert_pimpl.C:32:2: warning: #warning error needs fixing up ../../../../lyx/src/frontends/xforms/Alert_pimpl.C:33:2: warning: #warning a "&Save" -> "Save|#S" is whats needed ../../../../lyx/src/frontends/xforms/Alert_pimpl.C:34:2: warning: #warning and a format maybe, and fixup default_button ? ../../../../lyx/src/frontends/xforms/Alert_pimpl.C:39: parse error before `{' token -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Latest CVS compile error
make[3]: Entering directory `/home/kayvan/src/lyx/po' cat ./xforms_l10n.pot ./qt_l10n.pot ./layouts_l10n.pot ./languages_l10n.pot +./default_ui_l10n.pot | \ msguniq -o lyx.po :4485: keyword "Custom" unknown :4485: missing `msgstr' section :4485:68: parse error :5249: keyword "diskdrive" unknown :5249: missing `msgstr' section :5249:39: parse error msguniq: found 6 fatal errors make[3]: *** [l10n_pots] Error 1 -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Latest CVS compile error
On Sun, Mar 30, 2003 at 01:41:08AM +0100, Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | On Sat, Mar 29, 2003 at 02:25:16PM -0800, Kayvan A. Sylvan wrote: > | > | > :4485: keyword "Custom" unknown > | > :4485: missing `msgstr' section > | > :4485:68: parse error > | > :5249: keyword "diskdrive" unknown > | > :5249: missing `msgstr' section > | > | Umm, shouldn't gettext be able to handle " characters ? > > unquoted? The gettext version is gettext-0.11.4, if that makes a difference. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Compile error on SunOS-2.5.1
make[5]: Entering directory `/remote/simian1/ksylvan/lyx/src/frontends/xforms' source='bmtable.c' object='bmtable.lo' libtool=yes \ depfile='.deps/bmtable.Plo' tmpdepfile='.deps/bmtable.TPlo' \ depmode=gcc /bin/ksh ../../../config/depcomp \ /bin/ksh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../ src -I../../../images -I../../../src -I../../../src/frontends -I../../../src/fro ntends/controllers -I../../../boost -I/u/ksylvan/include -isystem /usr/openwi n/include -g -O2 -c -o bmtable.lo `test -f 'bmtable.c' || echo './'`bmtable.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images -I../../../src -I.. /../../src/frontends -I../../../src/frontends/controllers -I../../../boost -I/u/ ksylvan/include -isystem /usr/openwin/include -g -O2 -c bmtable.c -Wp,-MD,.deps/ bmtable.TPlo bmtable.c: In function `fl_set_bmtable_pixmap_file': bmtable.c:333: parse error before `xpm_col' bmtable.c:334: `xpm_col' undeclared (first use in this function) bmtable.c:334: (Each undeclared identifier is reported only once bmtable.c:334: for each function it appears in.) make[5]: *** [bmtable.lo] Error 1 My configuration: Configuration Host type: sparc-sun-solaris2.5.1 Special build flags:warnings assertions C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (2.95.3) C++ Compiler flags: -O2 -Wno-non-template-friend -ftemplate-depth-30 -W -Wall Linker flags:-L/u/ksylvan/lib -Wl,-R/u/ksylvan/lib Frontend: xforms libXpm version: 4.11 libforms version: 1.0.0 -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
LyX with qt frontend (QT-3.0.4 ??)
Does LyX work with QT-3? I tried on Cygwin: g++-2 -DHAVE_CONFIG_H -I. -I../../../../../../lyx/src/frontends/qt2/ui/moc -I../ ../../../../src -I../../../../../../lyx/src -I../../../../../../lyx/src/frontend s -I../../../../../../lyx/src/frontends/controllers -I../../../../../../lyx/src/ frontends/qt2/ui/moc/qt2 -I/usr/lib/qt3/include -I../../../../../../lyx/boost -I /usr/X11R6/include -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION -O2 -Wno-non-template-friend -ftemplate-depth-30 -W -Wall -fnative-struct -c Biblio ModuleBase_moc.C -Wp,-MD,.deps/BiblioModuleBase_moc.TPlo BiblioModuleBase_moc.C:30: no `void BiblioModuleBase::initMetaObject()' member f unction declared in class `BiblioModuleBase' BiblioModuleBase_moc.C: In method `void BiblioModuleBase::initMetaObject()': BiblioModuleBase_moc.C:34: implicit declaration of function `int badSuperclassWa rning(...)' BiblioModuleBase_moc.C: In function `static class QMetaObject * BiblioModuleBase ::staticMetaObject()': BiblioModuleBase_moc.C:68: no matching function for call to `QMetaObject::new_me taobject (const char[17], const char[8], int, int, int, int, int, int, int, int, int, int)' /usr/lib/qt3/include/qmetaobject.h:199: candidates are: static class QMetaObject * QMetaObject::new_metaobject(const char *, QMetaObject *, const QMetaData *, i nt, const QMetaData *, int, const QMetaProperty *, int, const QMetaEnum *, int, const QClassInfo *, int) BiblioModuleBase_moc.C:69: no matching function for call to `QMetaObject::set_sl ot_access (QMetaData::Access *&)' make[6]: *** [BiblioModuleBase_moc.lo] Error 1 make[6]: Leaving directory `/home/Kayvan/src/lyx-qt/src/frontends/qt2/ui/moc' -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Re: Latest CVS compile error
On Sun, Mar 30, 2003 at 06:14:10PM +0100, John Levon wrote: > On Sun, Mar 30, 2003 at 06:30:39PM +0200, Lars Gullik Bj?nnes wrote: > > > | qt_( "Choose a particular paper size, or set your own with \"Custom\"" ) > > | qt_( "Accept words such as \"diskdrive\"" ) ); > > > > I guess you have to look at the sed script used... I think it tries to > > use '"' as delimiters and does not check for quoteed '"'s. > > I don't know Awk well enough to see the problem. > > Additionally, make in po/ works for me > > john Try a "make lyx.pot" in po/ -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)