CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>    05/08/22 21:20:12

Modified files:
        .              : ChangeLog 
        Documentation/topdocs: INSTALL.texi 
        make           : lilypond-vars.make 
        scm            : ps-to-png.scm 

Log message:
        * Documentation/topdocs/INSTALL.texi (Top): add GS bugfix requirement.
        
        * scm/ps-to-png.scm: remove dir-re function.
        (make-ps-images): generate page names, instead of globbing them.
        This brings down LilyPond memory usage for make web by a factor
        10. (backportme?)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.4064&tr2=1.4065&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/Documentation/topdocs/INSTALL.texi.diff?tr1=1.159&tr2=1.160&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/make/lilypond-vars.make.diff?tr1=1.64&tr2=1.65&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/scm/ps-to-png.scm.diff?tr1=1.16&tr2=1.17&r1=text&r2=text

Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.4064 lilypond/ChangeLog:1.4065
--- lilypond/ChangeLog:1.4064   Mon Aug 22 17:28:50 2005
+++ lilypond/ChangeLog  Mon Aug 22 21:20:12 2005
@@ -1,5 +1,7 @@
 2005-08-22  Han-Wen Nienhuys  <[EMAIL PROTECTED]>
 
+       * Documentation/topdocs/INSTALL.texi (Top): add GS bugfix requirement.
+
        * input/regression/*.ly: formatting clean-up. Default layout
        before music expression.
 
Index: lilypond/Documentation/topdocs/INSTALL.texi
diff -u lilypond/Documentation/topdocs/INSTALL.texi:1.159 
lilypond/Documentation/topdocs/INSTALL.texi:1.160
--- lilypond/Documentation/topdocs/INSTALL.texi:1.159   Wed Jul 20 10:55:26 2005
+++ lilypond/Documentation/topdocs/INSTALL.texi Mon Aug 22 21:20:12 2005
@@ -113,7 +113,7 @@
 (version 1.6.5 or newer).
 @item @uref{http://www.python.org,Python} (version 2.1 or newer).
 @item @uref{http://www.ghostscript.com,Ghostscript} (version 8.15 or
-newer).
+newer)
 @end itemize
 
 @subsection Building documentation
@@ -135,6 +135,9 @@
 @item ImageMagick
 @item International fonts (see input/regression/utf-8.ly for hints
 about which font packages are necessary for your platform)
[EMAIL PROTECTED] Ghostscript, 8.15 with the patch from
[EMAIL PROTECTED]://bugs.ghostscript.com/show_bug.cgi?id=688154}
+
 @end itemize
 
 The HTML files can be installed into the standard documentation path
Index: lilypond/make/lilypond-vars.make
diff -u lilypond/make/lilypond-vars.make:1.64 
lilypond/make/lilypond-vars.make:1.65
--- lilypond/make/lilypond-vars.make:1.64       Sun Jun 19 14:52:33 2005
+++ lilypond/make/lilypond-vars.make    Mon Aug 22 21:20:12 2005
@@ -7,18 +7,14 @@
 export PYTHONPATH:=$(builddir)/python/$(outconfbase):$(PYTHONPATH)
 export DVIPSHEADERS:=$(builddir)/mf/out::
 
-
-
-
 the-script-dir=$(wildcard $(script-dir))
 
-
 ABC2LY = $(script-dir)/abc2ly.py
 CONVERT_LY = $(script-dir)/convert-ly.py
 LILYPOND = $(builddir)/lily/$(outconfbase)/lilypond
 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
 LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I 
$(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/ -I 
$(builddir)/mf/$(outconfbase)/  -I $(builddir)/mf/out/
-LILYPOND_BOOK_FLAGS = --process="$(LILYPOND) --backend=eps --formats=ps,png 
--header=texidoc -I $(srcdir)/input/test -dinternal-type-checking 
-danti-alias-factor=2 "
+LILYPOND_BOOK_FLAGS = --process="$(LILYPOND) --backend=eps --formats=ps,png 
--header=texidoc -I $(srcdir)/input/test -dinternal-type-checking 
-danti-alias-factor=2 -dgs-font-load"
 
 
 #texi-html for www only:
Index: lilypond/scm/ps-to-png.scm
diff -u lilypond/scm/ps-to-png.scm:1.16 lilypond/scm/ps-to-png.scm:1.17
--- lilypond/scm/ps-to-png.scm:1.16     Mon Aug 22 17:28:51 2005
+++ lilypond/scm/ps-to-png.scm  Mon Aug 22 21:20:12 2005
@@ -13,6 +13,7 @@
  (srfi srfi-1)
  (srfi srfi-13)
  (srfi srfi-14)
+ (lily)
  )
 
 ;; gettext wrapper for guile < 1.7.2
@@ -47,7 +48,13 @@
    str))
 
 (define (gulp-file nm len)
-  (gulp-port (open-file nm "r") len))
+
+  ;; string routines barf when strlen() != string-length,.
+  ;; which may happen as side effect of read-string!/partial.
+  
+;  (gulp-port (open-file nm "r") len))
+  (ly:gulp-file nm len))
+  
 
 ;;; ARGH - cuases memory usage to explode with GUILE cvs.  
 


_______________________________________________
Lilypond-cvs mailing list
Lilypond-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-cvs

Reply via email to