]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/topdocs/INSTALL.texi (Top): Remove information
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 28 Mar 2005 10:21:18 +0000 (10:21 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 28 Mar 2005 10:21:18 +0000 (10:21 +0000)
about xdeltas.  Add information about CVS.

* scm/lily.scm (lilypond-main): Fix invocation of handler,
gracefully handle failed files.

* lily/GNUmakefile (MODULE_LDFLAGS): Remove KPATHSEA_LIBS.

* Documentation/topdocs/INSTALL.texi (Top): Whitespace and other
small fixes.

* scm/framework-tex.scm (convert-to-ps): Proper option spacing.
No unnecessarily specific i18n messages.  Remove stray `1'.

12 files changed:
ChangeLog
Documentation/topdocs/INSTALL.texi
Documentation/topdocs/README.texi
lily/GNUmakefile
lily/afm.cc
lily/auto-beam-engraver.cc
lily/context.cc
lily/grob.cc
lily/input.cc
scm/document-backend.scm
scm/framework-tex.scm
scm/lily.scm

index b74f955b3ad3cbc30eb5a71165a8d4fe73cba2c6..54a1f60ee8f28049704f89eed745f62ad286224e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2005-03-28  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * Documentation/topdocs/INSTALL.texi (Top): Remove information
+       about xdeltas.  Add information about CVS.
+
+       * scm/lily.scm (lilypond-main): Fix invocation of handler,
+       gracefully handle failed files.
+
+       * lily/GNUmakefile (MODULE_LDFLAGS): Remove KPATHSEA_LIBS.
+
+       * Documentation/topdocs/INSTALL.texi (Top): Whitespace and other
+       small fixes.
+
+       * scm/framework-tex.scm (convert-to-ps): Proper option spacing.
+       No unnecessarily specific i18n messages.  Remove stray `1'.
+
 2005-03-28  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * buildscripts/lys-to-tely.py (strip_extension): add utf-8
index c1bf50e72f205e2c1302a0e2a3d32c67cc495b0e..2a7cb25125c7f65d76e5dc742f083f36324d98d1 100644 (file)
@@ -1,10 +1,9 @@
-@node Top, , , (dir)
-@top
-@comment  node-name,  next,  previous,  up\input texinfo @c -*-texinfo-*-
+\input texinfo @c -*-texinfo-*-
 @setfilename INSTALL.info
 @settitle INSTALL - compiling and installing GNU LilyPond
 
-@comment  FIXME -- this information is getting rather stale
+@node Top
+@top
 
 @contents
 
 
 @section Downloading
 
-Even numbered versions are `stable' (2.2, 2.4 etc), while odd version
-are development releases (2.3, 2.5, etc).  Building LilyPond is an
-involved process, so if possible, download a precompiled binary from
-@uref{http://lilypond.org/,the lilypond site}.
-
+Even numbered minor versions are `stable' (2.2, 2.4 etc), while odd
+version are development releases (2.3, 2.5, etc).  Building LilyPond
+is an involved process.  If possible, from
+@uref{http://lilypond.org/download,download a precompiled binary}
+for your platform.
 
 @subsection Source code
 
-Download source tarballs from
+Download source
+@itemize @bullet
+@item tarballs from
 @itemize @bullet
-@item Download development releases from
 @uref{http://lilypond.org/download/} by HTTP.
 @item @uref{ftp://sca.uwaterloo.ca/pub/} by FTP (Canadian mirror).
 @end itemize
-
-
-Use Xdelta to patch tarballs, e.g. to patch  
-@file{lilypond-1.4.2.tar.gz} to @file{lilypond-1.4.3.tar.gz}, do
-@quotation
+@item 
+CVS from @uref{http://savannah.gnu.org/cvs/?group=lilypond,savannah.gnu.org}
+@itemize @bullet
+@c @quotation
 @example
-xdelta patch lilypond-1.4.2-1.4.3.xd lilypond-1.4.2.tar.gz
+CVS_RSH=ssh cvs -d:ext:anoncvs@@savannah.gnu.org:/cvsroot/lilypond co lilypond
 @end example
-@end quotation
-
-For information on packaging and CVS, see  
-@uref{http://lilypond.org/}, under ``development''.
+@c @end quotation
+The CVS repository does not contain generated files.  To create
+@file{configure}, run
+@example
+./autogen.sh
+@end example
+@end itemize
+@end itemize
 
+For information on packaging, see @uref{http://lilypond.org/devel}.
 
-@subsection Precompiled binaries
+@subsection Precompiled binary packages
 
-Check out @uref{http://lilypond.org} for up to date information on
-binary packages.
+Check out @uref{http://lilypond.org/download} for up to date information on
+binary packages for your platform.
 
 
 @subsection Font problems
@@ -69,7 +73,7 @@ In addition to the packages needed for running Lilypond (see below),
 you need the following extra packages for building.
 
 When installing a binary package FOO, you may need to install the
-FOO-devel or libFOO-dev package too.
+FOO-devel, libFOO-dev or FOO-dev package too.
 
 @itemize
 
@@ -82,10 +86,10 @@ You will need to install some additional packages to get mftrace to
 work.
 
 @item @uref{http://www.gnu.org/software/guile/guile.html,GUILE}
- (version 1.6.5 or newer).  If you are installing binary packages, you
+(version 1.6.5 or newer).  If you are installing binary packages, you
 may need to install guile-devel or guile-dev or libguile-dev too.
 
-@item @uref{http://www.gnu.org/software/flex/,Flex} (version 2.5.4a or newer). 
+@item @uref{http://www.gnu.org/software/flex/,Flex} (version 2.5.4a or newer).
 
 WARNING: plain Flex 2.5.4(a) generates invalid C++ code.  GCC 3.x
 chokes on this.  If you wish to use GCC 3.x, make sure that your
@@ -117,7 +121,8 @@ newer, but not 1.50 or 1.75).
 
 @item @uref{http://www.gnu.org/software/gettext/gettext.html,gettext}.
 
-@item All packages necessary for running, including  headers.  
+@item All packages required for running, including development packages with
+header files and libraries.
 
 @end itemize
 
@@ -150,16 +155,16 @@ You can view the documentation online at
 This process requires a successful compile of lilypond.  The
 documentation is built by issuing
 @quotation
-@example 
+@example
 make web
-@end example 
+@end example
 @end quotation
 
 Building the website requires some additional tools and packages
 
 @itemize @bullet
 @item @uref{http://lilypond.org/download/fonts,ec-fonts-mftraced}
-@item The @uref{http://netpbm.sourceforge.net/,netpbm utilities} 
+@item The @uref{http://netpbm.sourceforge.net/,netpbm utilities}
 @item ImageMagick
 @end itemize
 
@@ -177,14 +182,14 @@ make out=www web-install
 
 To install GNU LilyPond, type
 @quotation
-@example 
+@example
 gunzip -c lilypond-x.y.z | tar xf -
 cd lilypond-x.y.z
 ./configure            # run with --help for applicable options
 make
 make install
-sh buildscripts/clean-fonts.sh      
-@end example 
+sh buildscripts/clean-fonts.sh
+@end example
 @end quotation
 
 The most time-consuming part of compiling LilyPond is tracing the
@@ -194,7 +199,7 @@ one of the following commands
 @quotation
 @example
 make -C mf get-pfa                # requires rpm2cpio
-make -C mf get-debian-pfa         # may not be up to date   
+make -C mf get-debian-pfa         # may not be up to date
 @end example
 @end quotation
 
@@ -205,9 +210,9 @@ work for you, see @file{buildscripts/out/clean-fonts}.
 If you are not root, you should choose a @code{--prefix} argument that
 points into your home directory, e.g.
 @quotation
-@example 
+@example
 ./configure --prefix=$HOME/usr
-@end example 
+@end example
 @end quotation
 
 In this case, you have to insert the contents of
@@ -227,21 +232,21 @@ with and without profiling, then use the following for the normal
 build
 
 @quotation
-@example 
+@example
 ./configure --prefix=$HOME/usr/ --enable-checking
 make
 make install
-@end example 
+@end example
 @end quotation
 
 and for the profiling version, specify a different configuration
 
 @quotation
-@example 
+@example
 ./configure --prefix=$HOME/usr/ --enable-profiling --enable-config=prof --disable-checking
 make conf=prof
 make conf=prof install
-@end example 
+@end example
 @end quotation
 
 
@@ -254,7 +259,7 @@ should be placed to @var{load-path}@file{/site-start.d/} or appended
 to your @file{~/.emacs} or @file{~/.emacs.el}.
 
 As a user, you may want add your source path (e.g. @file{~/site-lisp/}) to
-your @var{load-path} by appending the following line (as modified) to your 
+your @var{load-path} by appending the following line (as modified) to your
 @file{~/.emacs}
 @c any reason we do not advise:  (push "~/site-lisp" load-path)
 @quotation
@@ -266,13 +271,13 @@ your @var{load-path} by appending the following line (as modified) to your
 
 @section Vim mode
 
-A Vim mode for entering music and running LilyPond is contained in the 
-source archive in @code{$VIM} directory.  For version 6.2 and newer, 
-Vim-mode works directly after installing LilyPond.  Otherwise, 
+A Vim mode for entering music and running LilyPond is contained in the
+source archive in @code{$VIM} directory.  For version 6.2 and newer,
+Vim-mode works directly after installing LilyPond.  Otherwise,
 complete the following two steps.
 
 For earlier versions (and if @code{$VIM} environment variable does not
-fall-back to @file{/usr/local/share/vim}, see @code{:version} in vim), 
+fall-back to @file{/usr/local/share/vim}, see @code{:version} in vim),
 the LilyPond file type is detected if your file @file{~/.vim/filetype.vim} @c
 has the following content
 @quotation
@@ -285,10 +290,10 @@ augroup filetypedetect
 augroup END
 @end example
 @end quotation
-If Vim has been (pre-)installed to @file{/usr/...} (or any other place) 
-instead of @file{/usr/local/...}, then @file{/usr/local/share/vim} may not 
-be specified in your @code{$VIMRUNTIME} environment variable and you have to 
-include this path explicitly by appending the following line to your 
+If Vim has been (pre-)installed to @file{/usr/...} (or any other place)
+instead of @file{/usr/local/...}, then @file{/usr/local/share/vim} may not
+be specified in your @code{$VIMRUNTIME} environment variable and you have to
+include this path explicitly by appending the following line to your
 @file{~/.vimrc}
 @quotation
 @example
@@ -395,4 +400,4 @@ or
 @end itemize
 
 @bye
-        
+
index f920937325f3a4040d31bfc492d711b7524e1b71..5ec2aa2704f6064a8db98d00a08153870561a4fb 100644 (file)
@@ -2,7 +2,7 @@
 @setfilename README.info
 @settitle Toplevel README
 
-@node Top, , , 
+@node Top
 @top
 
 @chapter Toplevel README
index 651cc6d4acb90a7f42d2bc1db4690073cc00ac3c..13930b9e29d38fa8708d2082a7536817fe0bb5ee 100644 (file)
@@ -7,7 +7,7 @@ SUBDIRS = include
 MODULE_LIBS=$(depth)/flower  $(depth)/ttftool $(depth)/kpath-guile 
 MODULE_INCLUDES= $(depth)/flower/include $(depth)/ttftool/include 
 MODULE_CXXFLAGS= 
-MODULE_LDFLAGS = $(KPATHSEA_LIBS)
+MODULE_LDFLAGS=
 
 
 HELP2MAN_EXECS = lilypond
index b1c3805ac463058540c29ba45a0c040e25c5e361..f601e22e138530536d139723fa53239dacd21bbb 100644 (file)
@@ -151,7 +151,7 @@ read_afm_file (String nm)
 Box
 afm_bbox_to_box (AFM_BBox bb)
 {
-#if 1 /* Fine for feta; ec-fonts-mftraced do not have AFM :-(  */
+#if 1 /* Fine for feta; ec-fonts-mftraced do not have AFM.  */
   return Box (Interval (bb.llx, bb.urx) * 0.001 PT,
              Interval (bb.lly, bb.ury) * 0.001 PT);
 #else /* FIXME: about right for lmodern.  */
@@ -164,7 +164,7 @@ Offset
 Adobe_font_metric::get_indexed_wxwy (int k) const
 {
   AFM_CharMetricInfo const *mi = font_info_->cmi + k;
-#if 1 /* Fine for feta; ec-fonts-mftraced do not have AFM :-( */
+#if 1 /* Fine for feta; ec-fonts-mftraced do not have AFM */
   return Offset (mi->wx, mi->wy) * 0.001 PT;
 #else /* FIXME: about right for lmodern.  */
   return Offset (mi->wx, mi->wy) * 1.14 * 0.001 PT;
index 09a6d2a8312694949c1fb21949ea651add6b18e6..635bc0989f877f1051125dc7bf955f04e40f6713 100644 (file)
@@ -401,10 +401,8 @@ Auto_beam_engraver::finalize ()
 void
 Auto_beam_engraver::acknowledge_grob (Grob_info info)
 {
-  /*
-    Duplicated from process_music(), since
-    Repeat_acknowledge_engraver::process_music() may also set whichBar
-  */
+  /* Duplicated from process_music (), since
+     Repeat_acknowledge_engraver::process_music () may also set whichBar.  */
   if (scm_is_string (get_property ("whichBar"))
       && beam_start_moment_ < now_mom ())
     {
index 13965e2fa0f50b54b0779ff8b96f95669dd6c506..e88fd27f5af5c2d0b35ef239c97119f3ce8ee23d 100644 (file)
@@ -102,9 +102,7 @@ Context::Context (Object_key const *key)
   scm_gc_unprotect_object (key_->self_scm ());
 }
 
-/*
-  TODO:  this shares code with find_create_context().
-*/
+/* TODO:  this shares code with find_create_context ().  */
 Context *
 Context::create_unique_context (SCM n, SCM operations)
 {
index ce3ab0ceb2e19e5d939df3331bd3a500fbd76363..4fdce86481abff211f5b23d598cca4b2b806503c 100644 (file)
@@ -245,7 +245,7 @@ Grob::get_uncached_stencil () const
          stil = Stencil (m->extent_box (), expr).smobbed_copy ();
        }
 
-      /* color support... see interpret_stencil_expression() for more... */
+      /* color support... see interpret_stencil_expression () for more... */
       SCM color = get_property ("color");
       if (color != SCM_EOL)
        {
@@ -663,7 +663,7 @@ Grob::mark_smob (SCM ses)
     scm_gc_mark (s->original_->self_scm ());
 
   if (s->pscore_)
-    scm_gc_mark (s->pscore_->layout_->self_scm());
+    scm_gc_mark (s->pscore_->layout_->self_scm ());
 
   s->do_derived_mark ();
   return s->mutable_property_alist_;
index a051da38c3c79ea5b09c996dde28495d1d1b9e19..0bf7e737f0d054d249e85e6f2e27714553c364f7 100644 (file)
@@ -103,6 +103,7 @@ Input::warning (String message_string) const
 {
   message (_ ("warning: ") + message_string);
 }
+
 void
 Input::error (String s) const
 {
@@ -114,6 +115,7 @@ Input::non_fatal_error (String s) const
 {
   message (_ ("non fatal error: ") + s);
 }
+
 String
 Input::location_string () const
 {
index 262e3c55b925d1c4e5423f1068c8f5f6e4560296..89b66d2aac565a9500e6a4e372458404c9c8d80f 100644 (file)
@@ -124,13 +124,14 @@ node."
 
 ;;;;;;;;;; check for dangling backend properties.
 (define (mark-interface-properties entry)
-  (map (lambda (x) (set-object-property! x  'iface-marked #t)) (caddr (cdr entry))))
+  (map (lambda (x) (set-object-property! x 'iface-marked #t))
+       (caddr (cdr entry))))
 
 (map mark-interface-properties interface-description-alist)
 
 (define (check-dangling-properties prop)
   (if (not (object-property prop 'iface-marked))
-      (error  "\ndefine-grob-properties.scm: Can't find interface for property:" prop)))
+      (error "\ndefine-grob-properties.scm: Can't find interface for property:" prop)))
 
 (map check-dangling-properties all-backend-properties)
 
index 4fd1b32cd3157b1a7b3938d03fb0297ce6cf66a5..17bf2406c087038efd66e838600b798daa569025 100644 (file)
@@ -1,4 +1,4 @@
-1;;;; framework-tex.scm --
+;;;; framework-tex.scm --
 ;;;;
 ;;;;  source file of the GNU LilyPond music typesetter
 ;;;;
 (define-public (convert-to-ps book name)
   (let* ((paper (ly:paper-book-paper book))
         (preview? (string-contains name ".preview"))
-
         (papersizename (ly:output-def-lookup paper 'papersizename))
         (landscape? (eq? #t (ly:output-def-lookup paper 'landscape)))
         (base (basename name ".tex"))
         (ps-name (format "~a.ps"  base ".ps"))
-        (cmd (string-append "dvips "
+        (cmd (string-append "dvips"
                             (if preview?
-                                "-E "
+                                " -E"
                                 (string-append
-                                 "-t"
+                                 " -t"
                                  ;; careful: papersizename is user-set.
                                  (sanitize-command-option papersizename)
-                                 " "))
-                            (if landscape? "-t landscape " "")
+                                 ""))
+                            (if landscape? " -tlandscape" "")
                             (if (ly:kpathsea-find-file "lm.map")
-                                "-u+lm.map " "")
+                                " -u+lm.map" "")
                             (if (ly:kpathsea-find-file "ecrm10.pfa")
-                                "-u+ec-mftrace.map " "")
-                            "-u+lilypond.map -Ppdf " " "
-                            "-o" ps-name " "
-                            base)))
+                                " -u+ec-mftrace.map" "")
+                            " -u+lilypond.map -Ppdf" ""
+                            " -o" ps-name
+                            " " base)))
     (if (access? ps-name W_OK)
        (delete-file ps-name))
     (if (not (ly:get-option 'verbose))
        (format (current-error-port)
-               (_ "Converting to `~a.dvi'...\n")
-               base))
+               (_ "Converting to `~a'...\n")
+               (string-append base ".dvi")))
     (ly:system cmd)))
 
 (define-public (convert-to-dvi book name)
index 6a6c8c64745673baaf50f17d75f535d0f0da7324..0fe8fbfb22512e515f7d5fbcb89aa48be4c03188 100644 (file)
@@ -300,10 +300,11 @@ The syntax is the same as `define*-public'."
 (define-public (lilypond-main files)
   "Entry point for LilyPond."
   (let* ((failed '())
-        (handler (lambda (key arg) (set! failed (cons arg failed)))))
+        (handler (lambda (key . arg) (set! failed (append arg failed)))))
     (for-each
      (lambda (f)
-       (catch 'ly-file-failed (lambda () (ly:parse-file f)) handler)
+       (catch 'ly-file-failed (lambda () (ly:parse-file f))
+             (lambda (x) (handler x f)))
        (if #f
           (dump-gc-protects)))
      files)