]> git.donarmstrong.com Git - lilypond.git/commitdiff
release: 1.5.12 release/1.5.12
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 22 Sep 2001 12:13:06 +0000 (14:13 +0200)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 22 Sep 2001 12:13:06 +0000 (14:13 +0200)
===========

* Add -p flag to package-diff.py's diff invocation, to show changed function.

* Add configure checks for python headers.

* Make midi module.

1.5.11.h

CHANGES
VERSION
config.hh.in
configure
configure.in
lily/tie-engraver.cc
make/out/lilypond.lsm
make/out/lilypond.mandrake.spec
make/out/lilypond.redhat.spec
make/out/lilypond.suse.spec
modules/midi.c

diff --git a/CHANGES b/CHANGES
index cec66bd7e5fab8292a54524b8b7423d397c96c25..03b0f11b8b537f586aae71e31a78cb30fd6cacc9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,25 +1,24 @@
-1.5.11.hwn1
+1.5.11.jcn1
 ===========
 
-* Allow breaks at measures starting with grace notes.
-
-* Bugfix: don't give up when there is one entirely unspaceable
-measure/line.
+* Add -p flag to package-diff.py's diff invocation, to show changed function.
 
-* Some GH deprecation.
+* Add configure checks for python headers.
 
-* Midi module: add timestamps.
+* Make midi module.
 
-1.5.11.jcn2
+1.5.11.hwn1
 ===========
 
-* guile > 1.4 fixes.
+* Allow breaks at measures starting with grace notes.
 
-* Add -p flag to package-diff.py's diff invocation, to show changed function.
+* Bugfix: don't give up when there is one entirely unspaceable
+measure/line.
 
-* Add configure checks for python headers.
+* Midi module: many bugfixes.
+
+* midi2ly python blurble.
 
-* Make midi module.
 
 1.5.11
 ======
diff --git a/VERSION b/VERSION
index 047ca1547f886111b916f0fae26eb350f3480702..cdb7a38a661865e2b35db9728b57675d01a7edb5 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,8 +1,8 @@
 PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=5
-PATCH_LEVEL=11
-MY_PATCH_LEVEL=jcn3
+PATCH_LEVEL=12
+MY_PATCH_LEVEL=
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index 388eea7e3dc3e06f8afd8cc71814cc889ba0960a..038a46c6617f98e7011a595329b63858bdb39deb 100644 (file)
@@ -44,6 +44,9 @@
 /* define if you have python2/Python.h header */
 #define HAVE_PYTHON2_PYTHON_H 0
 
+/* define if you have python1.5/Python.h */
+#define HAVE_PYTHON1_5_PYTHON_H 0
+
 /* define if you have python/Python.h header */
 #define HAVE_PYTHON_PYTHON_H 0
 
index abca10383af745d57a1aa8fbfcc566c606b11674..93015c4e63d71eba8e4e1b891b4d398e6736fffd 100755 (executable)
--- a/configure
+++ b/configure
@@ -3481,6 +3481,48 @@ else
 fi
 
 
+for ac_hdr in python2/Python.h python/Python.h python1.5/Python.h Python.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:3489: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 3494 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:3499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+  rm -rf conftest*
+  eval "ac_cv_header_$ac_safe=yes"
+else
+  echo "$ac_err" >&5
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+  echo "$ac_t""yes" 1>&6
+    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+  cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+else
+  echo "$ac_t""no" 1>&6
+fi
+done
+
+
+
 
     trap '' 1 2 15
 cat > confcache <<\EOF
index 1cca0ffe08d9f4aa3e0e56cc51809b0e26144000..636d386f3500e59c182cae414be541d70de56e85 100644 (file)
@@ -49,7 +49,7 @@ AC_STEPMAKE_MAKEINFO
 
 AC_PATH_PROG(PERL, perl, error)
 
-AC_HAVE_HEADERS(python2/Python.h python/Python.h Python.h)
+AC_HAVE_HEADERS(python2/Python.h python/Python.h python1.5/Python.h Python.h)
 
 
 AC_STEPMAKE_END
index e5ee0362c85001fec2af7f579180f785552171d6..d96acb32e973073f031dcc68ed025732e178a6cd 100644 (file)
@@ -164,7 +164,7 @@ Tie_engraver::create_grobs ()
          if (!i)
            return;
          
-         SCM pair = scm_list_n_ref (head_list, gh_int2scm (i/2));
+         SCM pair = scm_list_ref (head_list, gh_int2scm (i/2));
          
          Spanner * p = new Spanner (basic);
 
index b33dd832187e83b8cca33824415b9dcbf0c7b4b2..575def8426e0b69f49849345555c6b9f91bbbf64 100644 (file)
@@ -1,15 +1,15 @@
 Begin3
 Title: LilyPond
-Version: 1.5.11
-Entered-date: 21SEP01
+Version: 1.5.12
+Entered-date: 23SEP01
 Description: @BLURB@
 Keywords: music notation typesetting midi fonts engraving
 Author: hanwen@cs.uu.nl (Han-Wen Nienhuys)
        janneke@gnu.org (Jan Nieuwenhuizen)
 Maintained-by: hanwen@stack.nl (Han-Wen Nienhuys)
 Primary-site: sunsite.unc.edu /pub/Linux/apps/sound/convert
-       1000k lilypond-1.5.11.tar.gz 
+       1000k lilypond-1.5.12.tar.gz 
 Original-site: ftp.cs.uu.nl /pub/GNU/LilyPond/development/
-       1000k lilypond-1.5.11.tar.gz 
+       1000k lilypond-1.5.12.tar.gz 
 Copying-policy: GPL
 End
index 31be80813d631474ce721123b1c8f285ad689ce5..bebfda00000a7bf43f79e53b890eaa62a6a915ed 100644 (file)
@@ -1,5 +1,5 @@
 %define name lilypond
-%define version 1.5.11
+%define version 1.5.12
 %define release 1mdk
 
 Name: %{name}
index 48b12bd8cf01524feb288251b1e6cf20ec13a0a2..3a55369af83e0db1258bebd7471e77744205c213 100644 (file)
@@ -1,11 +1,11 @@
 %define info yes
 
 Name: lilypond
-Version: 1.5.11
+Version: 1.5.12
 Release: 1
 License: GPL
 Group: Applications/Publishing
-Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.5.11.tar.gz
+Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.5.12.tar.gz
 Summary: Create and print music notation 
 URL: http://www.lilypond.org/
 BuildRoot: /tmp/lilypond-install
index 631e774b87ba5bf3bc105608f6eaf1e099216377..6dda6f64437de7f9e5452572a904ba57a81b565a 100644 (file)
 
 Distribution: SuSE Linux 7.0 (i386)
 Name: lilypond
-Version: 1.5.11
+Version: 1.5.12
 Release: 2
 Copyright:    GPL
 Group: Applications/Publishing
-Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.5.11.tar.gz
+Source0: ftp.cs.uu.nl:/pub/GNU/LilyPond/development/lilypond-1.5.12.tar.gz
 # music notation software for.. ?
 Summary: A program for printing sheet music.
 URL: http://www.lilypond.org/
index 545d1d0a42ed4c9364b1738d01ab15ac384a50d9..747ed1b5ab359d8720f68fe4e70a4c569ef0a448 100644 (file)
@@ -23,6 +23,8 @@ midi.parse (s)
 /* urg */
 #if HAVE_PYTHON2_PYTHON_H
 #include <python2/Python.h>
+#elif HAVE_PYTHON1_5_PYTHON_H
+#include <python1.5/Python.h>
 #elif HAVE_PYTHON_PYTHON_H
 #define assert(x)
 #include <python/Python.h>
@@ -274,9 +276,12 @@ midi_parse_track (unsigned char **track, unsigned char *track_end)
   debug_print ("%s", "\n");
   
   track_size = track_end - *track;
+#if 0
   /* need this for direct midi.parse_track (s) on midi file */
   if (strcmp (*track, "MTrk"))
     *track = memmem (*track, track_size - 1, "MTrk", 4);
+#endif
+
   debug_print ("%s", "\n");
   assert (!strcmp (*track, "MTrk"));
   *track += 4;