From c012fabf390af277f272bb97ae0a1ac13e14b855 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Sun, 6 Aug 2006 23:21:43 +0000 Subject: [PATCH] lib/configure.py: display latex package checking results faster git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14548 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 3 +++ lib/configure.py | 9 +++++++-- status.14x | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 33258ad60f..10c6188203 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,6 @@ +2006-08-06 Bo Peng + * lib/configure.py: display latex package checking result faster. + 2006-07-17 Bo Peng * Change the encoding of some python scripts from iso-8859-15 to iso-8859-1. diff --git a/lib/configure.py b/lib/configure.py index 17d90bd15c..86f0b533d4 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -549,9 +549,14 @@ def checkLatexConfig(check_config, bool_docbook, bool_linuxdoc): cl.close() # # we have chklayouts.tex, then process it - for line in cmdOutput(LATEX + ' wrap_chkconfig.ltx').splitlines(): + fout = os.popen(LATEX + ' wrap_chkconfig.ltx') + while True: + line = fout.readline() + if not line: + break; if re.match('^\+', line): - print line + print line, + fout.close() # # currently, values in chhkconfig are only used to set # \font_encoding diff --git a/status.14x b/status.14x index 4785704f53..d6ba58d732 100644 --- a/status.14x +++ b/status.14x @@ -30,3 +30,5 @@ What's new * Miscellaneous - Handle the Meta keyboard modifier as Alt (Qt only). + +- Display latex package checking results faster during configuration.