]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.5.26.jcn1
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 16 Dec 2001 22:53:46 +0000 (23:53 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 16 Dec 2001 22:53:46 +0000 (23:53 +0100)
2001-12-16  Jan Nieuwenhuizen  <janneke@gnu.org>

* Documentation/topdocs/INSTALL.texi: Added note about broken
python-2.1.  Updated note for Debian's broken (well, broken for
our use anyway) tex configuration.

* scripts/lilypond-book.py (re_dict): python2.2 fix.

* stepmake/stepmake/c++-rules.make ($(outdir)/%.hh):
($(outdir)/%.cc): Adapted to bison-1.30; added bison < 1.30 fix.

* scripts/lilypond-book.py (bounding_box_dimensions): Bugfix.
(But left margin of png's still misses a few pixels.  Arg.)

ChangeLog
Documentation/topdocs/INSTALL.texi
VERSION
scripts/lilypond-book.py
stepmake/stepmake/c++-rules.make
stepmake/stepmake/c-rules.make

index 262ee9a07b7dc14f4ecf80409c5dd2be190dd0ab..ca802f93a58334ca3d3f22186e404cacd468cffa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2001-12-16  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * Documentation/topdocs/INSTALL.texi: Added note about broken
+       python-2.1.  Updated note for Debian's broken (well, broken for
+       our use anyway) tex configuration.
+
+       * scripts/lilypond-book.py (re_dict): python2.2 fix.
+
+       * stepmake/stepmake/c++-rules.make ($(outdir)/%.hh): 
+       ($(outdir)/%.cc): Adapted to bison-1.30; added bison < 1.30 fix.
+
+       * scripts/lilypond-book.py (bounding_box_dimensions): Bugfix.
+       (But left margin of png's still misses a few pixels.  Arg.)
+
 2001-12-14  Han-Wen  <hanwen@cs.uu.nl>
 
        * scripts/lilypond-book.py (LatexPaper.set_geo_option):
index f50a1b821e5419a8ca3bf95f51bd7f8f832aff9f..a2e4043133ca5695df36776b563aa0965aba5e63 100644 (file)
@@ -119,10 +119,10 @@ You need the following packages to compile Lilypond.
 @item A reasonably new C++ compiler:  EGCS 1.1, GCC 2.95.2 or
 newer. Check out @uref{ftp://ftp.gnu.org/gnu/gcc/, the gcc site}.
 
-@item  Python 1.5,
+@item  Python (version 1.5 or newer; not 2.1.x)
 Check out @uref{http://www.python.org, the python website}.
 
-@item  GUILE 1.3.4 or newer,  check out
+@item  GUILE 1.4 or newer,  check out
 @uref{http://www.gnu.org/software/guile/guile.html,the GUILE webpage}.
 Version 1.4 is recommended for better performance.
 
@@ -418,19 +418,28 @@ If you're real impatient, you may even do:
 Debian's @TeX{} installation is a bit short on memory, you may want to
 increase it like this:
 @example
---- /etc/texmf/texmf.cnf.dpkg  Sun Jan 28 14:12:14 2001
-+++ /etc/texmf/texmf.cnf       Fri Apr 27 11:09:35 2001
-@@ -384,8 +384,8 @@
+--- texmf.cnf.orig     Sun Dec 16 23:47:07 2001
++++ texmf.cnf  Sun Dec 16 23:46:34 2001
+@@ -411,8 +411,8 @@
  main_memory.context = 1500000
  main_memory.mpost = 1000000
  main_memory = 263000 % words of inimemory available; also applies to inimf&mp
 -extra_mem_top = 0    % extra high memory for chars, tokens, etc.
 -extra_mem_bot = 0    % extra low memory for boxes, glue, breakpoints, etc.
-+extra_mem_top = 100000    % extra high memory for chars, tokens, etc.
-+extra_mem_bot = 100000    % extra low memory for boxes, glue, breakpoints, etc.
++extra_mem_top = 1000000    % extra high memory for chars, tokens, etc.
++extra_mem_bot = 1000000    % extra low memory for boxes, glue, breakpoints, etc.
  
- obj_tab_size.context = 256000
-
+ obj_tab_size.context = 300000
+@@ -430,7 +430,7 @@
+ % Max number of characters in all strings, including all error messages,
+ % help texts, font names, control sequences.  These values apply to TeX and MP.
+ pool_size.context = 750000
+-pool_size = 125000            
++pool_size = 250000            
+ % Minimum pool space after TeX/MP's own strings; must be at least
+ % 25000 less than pool_size, but doesn't need to be nearly that large.
+ string_vacancies.context = 45000
 @end example
 
 You could also export @env{extra_mem_top} and @env{extra_mem_bot} as
@@ -543,8 +552,11 @@ LilyPond with gcc-3.0 you may do:
 
 Note that this is fixed in Debian/unstable for flex >= 2.5.4a-13.
 
+@unnumberedsubsec Python-2.1[.1]
+
+Regular expressions are broken in Python 2.1.[.1], either upgrade or
+downgrade python.
+
 @unnumberedsubsec Linux-2.4.0, Guile-1.4 --with-threads
 
 There's a bug in certain kernels around version 2.4.0, that is
diff --git a/VERSION b/VERSION
index d5f4d365ee2b85b5389c05ded77e3900903b0fd9..8c2c4cc4854a5ae0165712ef847082ffef4a8c4a 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=5
 PATCH_LEVEL=26
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index 2e13e651fd24d6f23878003f3a7e5d27f47e5f12..8befc79dae9c62f39ab1e8ac4a9c4e7ee07076c7 100644 (file)
@@ -467,7 +467,9 @@ re_dict = {
                 'verb': r"""(?P<code>@code{.*?})""",
                 'lilypond-file': '(?m)^(?!@c)(?P<match>@lilypondfile(\[(?P<options>.*?)\])?{(?P<filename>[^}]+)})',
                 'lilypond' : '(?m)^(?!@c)(?P<match>@lilypond(\[(?P<options>.*?)\])?{(?P<code>.*?)})',
-                'lilypond-block': r"""(?m)^(?!@c)(?P<match>(?s)(?P<match>@lilypond(\[(?P<options>.*?)\])?\s(?P<code>.*?)@end lilypond\s))""",
+# pyton2.2b2 barfs on this
+#               'lilypond-block': r"""(?m)^(?!@c)(?P<match>(?s)(?P<match>@lilypond(\[(?P<options>.*?)\])?\s(?P<code>.*?)@end lilypond\s))""",
+                'lilypond-block': r"""(?m)^(?!@c)(?P<match>@lilypond(\[(?P<options>.*?)\])?\s(?P<code>.*?)@end lilypond\s)""",
                  'option-sep' : ',\s*',
                  'intertext': r',?\s*intertext=\".*?\"',
                  'multiline-comment': r"(?sm)^\s*(?!@c\s+)(?P<code>@ignore\s.*?@end ignore)\s",
@@ -511,8 +513,8 @@ def bounding_box_dimensions(fname):
        str = fd.read ()
        s = re.search('%%BoundingBox: ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+)', str)
        if s:
-               return (int(s.group(3))-int(s.group(1)), 
-                       int(s.group(4))-int(s.group(2)))
+               return (int (s.group (3) - s.group (1) + 0.5),
+                       int (s.group (4) - s.group (2) + 0.5))
        else:
                return (0,0)
 
index 5b80d2447546517b9e0b975040341c7625e4d4a2..78bdfd026cb4805cbca5a0b621b1724447e461e8 100644 (file)
@@ -14,12 +14,14 @@ $(outdir)/%.lo: $(outdir)/%.cc
 
 $(outdir)/%.cc: %.yy
        $(BISON) $<
-       mv $<.tab.c $@
+       @-mv -f parser.tab.c parser.tab.cc  # bison < 1.30
+       mv parser.tab.cc $@
 
 $(outdir)/%.hh: %.yy
        $(BISON) -d $<
-       mv $<.tab.h $@
-       rm $<.tab.c             # if this happens in the wrong order it triggers recompile of the .cc file 
+       @-mv -f parser.tab.h parser.tab.hh  # bison < 1.30
+       mv parser.tab.hh $@
+       rm -f parser.tab.c parser.tab.cc        # if this happens in the wrong order it triggers recompile of the .cc file 
 
 $(outdir)/%.cc: %.ll
        $(FLEX) -Cfe -p -p -t $< > $@
index ef44800783c973000b74b27b0419b5bb287aa62e..690a8a8d04de2aa4df944acbbba3a614fd80d724 100644 (file)
@@ -14,12 +14,10 @@ $(outdir)/%.lo: %.c
 
 $(outdir)/%.c: %.y
        $(BISON) $<
-#      mv $<.tab.c $@
        mv parser.tab.c $@
 
 $(outdir)/%.h: %.y
        $(BISON) -d $<
-#      mv $<.tab.h $@
        mv parser.tab.h $@
        mv parser.tab.c $(basename $@).c