diff -ruN lilypond-2.4.5-orig/Documentation/user/GNUmakefile lilypond-2.4.5/Documentation/user/GNUmakefile --- lilypond-2.4.5-orig/Documentation/user/GNUmakefile Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/Documentation/user/GNUmakefile Sat Mar 5 00:51:47 2005 @@ -202,7 +202,7 @@ local-clean: local-delete local-delete: - -for i in $$(seq 0 9); do \ + -for i in $$(jot 9 0 9); do \ for j in dvi eps eps.bbox eps.trans log png tex; do \ rm -f $(outdir)/lily-$$i*$$j; \ done; \ diff -ruN lilypond-2.4.5-orig/Documentation/user/lilypond.tely lilypond-2.4.5/Documentation/user/lilypond.tely --- lilypond-2.4.5-orig/Documentation/user/lilypond.tely Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/Documentation/user/lilypond.tely Sat Mar 5 00:51:47 2005 @@ -19,13 +19,13 @@ @c goes to Top. @c * lilypond: (lilypond/lilypond)Running LilyPond. Invoking the @c LilyPond program. -* GNU LilyPond: (lilypond/lilypond). The GNU music typesetter. -* convert-ly: (lilypond/lilypond)Invoking convert-ly. Older LilyPond versions. -* midi2ly: (lilypond/lilypond)Invoking midi2ly. Importing MIDI. -* etf2ly: (lilypond/lilypond)Invoking etf2ly. Importing Finale. -* abc2ly: (lilypond/lilypond)Invoking abc2ly. Importing ABC. -* musedata2ly: (lilypond/lilypond)Invoking musedata2ly. Importing MuseData. -* mup2ly: (lilypond/lilypond)Invoking mup2ly. Importing Mup. +* GNU LilyPond: (lilypond). The GNU music typesetter. +* convert-ly: (lilypond)Invoking convert-ly. Older LilyPond versions. +* midi2ly: (lilypond)Invoking midi2ly. Importing MIDI. +* etf2ly: (lilypond)Invoking etf2ly. Importing Finale. +* abc2ly: (lilypond)Invoking abc2ly. Importing ABC. +* musedata2ly: (lilypond)Invoking musedata2ly. Importing MuseData. +* mup2ly: (lilypond)Invoking mup2ly. Importing Mup. @end direntry diff -ruN lilypond-2.4.5-orig/Documentation/user/music-glossary.tely lilypond-2.4.5/Documentation/user/music-glossary.tely --- lilypond-2.4.5-orig/Documentation/user/music-glossary.tely Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/Documentation/user/music-glossary.tely Sat Mar 5 00:51:47 2005 @@ -13,6 +13,11 @@ PostScript} and @uref{music-glossary.pdf,PDF}. @end ifhtml +@dircategory GNU music project +@direntry +* Glossary: (music-glossary). Glossary of music terms. +@end direntry + @titlepage @title Music Glossary @author Christian Mondrup @c Original author of LilyPond glossary diff -ruN lilypond-2.4.5-orig/GNUmakefile.in lilypond-2.4.5/GNUmakefile.in --- lilypond-2.4.5-orig/GNUmakefile.in Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/GNUmakefile.in Sat Mar 5 12:19:34 2005 @@ -59,11 +59,6 @@ $(INSTALL) -d $(local_lilypond_datadir) final-install: - @echo - @echo " *** Before running, buildscripts/out/lilypond-{profile,login}" - @echo " *** must be run. You're advised to source these scripts from your " - @echo " *** login scripts. For more information, see Invoking LilyPond in the manual." - @echo web-ext = gz html midi pdf png txt ly diff -ruN lilypond-2.4.5-orig/buildscripts/clean-fonts.sh lilypond-2.4.5/buildscripts/clean-fonts.sh --- lilypond-2.4.5-orig/buildscripts/clean-fonts.sh Sat Mar 5 00:51:30 2005 +++ lilypond-2.4.5/buildscripts/clean-fonts.sh Sat Mar 5 00:51:47 2005 @@ -20,6 +20,7 @@ /var/texfonts /var/cache/fonts /usr/share/texmf/fonts +@prefix@/var/lib/texmf " for i in $dirs; do diff -ruN lilypond-2.4.5-orig/config.make.in lilypond-2.4.5/config.make.in --- lilypond-2.4.5-orig/config.make.in Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/config.make.in Sat Mar 5 00:51:47 2005 @@ -41,7 +41,7 @@ # move out of config.make.in? package_datadir = $(datadir)/$(package) -package_infodir = $(infodir)/$(package) +package_infodir = $(infodir) package_libdir = $(libdir)/$(package) package_docdir = $(docdir)/$(package) package_omfdir = $(omfdir)/$(package) diff -ruN lilypond-2.4.5-orig/lexer-gcc-3.1.sh lilypond-2.4.5/lexer-gcc-3.1.sh --- lilypond-2.4.5-orig/lexer-gcc-3.1.sh Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/lexer-gcc-3.1.sh Sat Mar 5 00:51:47 2005 @@ -8,7 +8,7 @@ if [ -z "$FLEXLEXER" ]; then -includes="$HOME/usr/include /usr/local/include /usr/include" +includes="$HOME/usr/include $PREFIX/include /usr/local/include /usr/include" for i in $includes; do file=$i/FlexLexer.h @@ -43,9 +43,9 @@ echo -n "Copying and fixing $file... " mkdir -p lily/$outdir rm -f lily/$outdir/FlexLexer.h -sed -e 's/iostream.h/iostream/' \ - -e 's/\/std::istream/' \ - -e 's/\/std::ostream/' \ +perl -p -e 's/iostream.h/iostream/g;' \ + -e 's/\bistream\b/std::istream/g;' \ + -e 's/\bostream\b/std::ostream/' \ $file > lily/$outdir/FlexLexer.h echo "done" @@ -58,9 +58,9 @@ make conf=$CONF -C lily $outdir/lexer.cc > /dev/null 2>&1 || true mv $file $file.orig - sed -e 's/\/std::cin/g' \ - -e 's/\/std::cout/g' \ - -e 's/\/std::cerr/g' \ + perl -p -e 's/\bcin\b/std::cin/g;' \ + -e 's/\bcout\b/std::cout/g;' \ + -e 's/\bcerr\b/std::cerr/g' \ $file.orig > $file echo "done" fi diff -ruN lilypond-2.4.5-orig/lily/kpath.cc lilypond-2.4.5/lily/kpath.cc --- lilypond-2.4.5-orig/lily/kpath.cc Sat Mar 5 00:51:31 2005 +++ lilypond-2.4.5/lily/kpath.cc Sat Mar 5 00:51:47 2005 @@ -26,6 +26,7 @@ #define popen REALLYUGLYKLUDGE #define pclose ANOTHERREALLYUGLYKLUDGE #define getopt YAKLUDGE +#define __GNU_LIBRARY__ #if HAVE_KPATHSEA_KPATHSEA_H extern "C" { diff -ruN lilypond-2.4.5-orig/stepmake/stepmake/c++-rules.make lilypond-2.4.5/stepmake/stepmake/c++-rules.make --- lilypond-2.4.5-orig/stepmake/stepmake/c++-rules.make Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/stepmake/stepmake/c++-rules.make Sat Mar 5 00:51:47 2005 @@ -26,3 +26,4 @@ $(outdir)/%.cc: %.ll $(FLEX) -Cfe -p -p -o$@ $< + perl -i.bak -pe 's/^class istream;/#include ;\nusing namespace std;/' $@ \ No newline at end of file diff -ruN lilypond-2.4.5-orig/stepmake/stepmake/c-vars.make lilypond-2.4.5/stepmake/stepmake/c-vars.make --- lilypond-2.4.5-orig/stepmake/stepmake/c-vars.make Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/stepmake/stepmake/c-vars.make Sat Mar 5 00:51:47 2005 @@ -14,4 +14,4 @@ ALL_C_SOURCES += $(H_FILES) $(C_FILES) $(Y_FILES) $(L_FILES) -ALL_CFLAGS = $(CFLAGS) $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS) +ALL_CFLAGS = $(CFLAGS) $(CPPFLAGS) $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS) diff -ruN lilypond-2.4.5-orig/stepmake/stepmake/compile-vars.make lilypond-2.4.5/stepmake/stepmake/compile-vars.make --- lilypond-2.4.5-orig/stepmake/stepmake/compile-vars.make Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/stepmake/stepmake/compile-vars.make Sat Mar 5 00:51:47 2005 @@ -3,7 +3,7 @@ ALL_LDFLAGS = $(LDFLAGS) $(ILDFLAGS) $(EXTRA_LDFLAGS) $($(PACKAGE)_LDFLAGS) $(MODULE_LDFLAGS) $(USER_LDFLAGS) PIC_FLAGS = -fpic -fPIC -SHARED_FLAGS = -shared +SHARED_FLAGS = -bundle -flat_namespace -undefined suppress o-dep-out = $(outdir)/$(subst .o,.dep,$(notdir $@))# DO_O_DEP = rm -f $(o-dep-out); DEPENDENCIES_OUTPUT="$(o-dep-out) $(outdir)/$(notdir $@)" diff -ruN lilypond-2.4.5-orig/stepmake/stepmake/install-out-targets.make lilypond-2.4.5/stepmake/stepmake/install-out-targets.make --- lilypond-2.4.5-orig/stepmake/stepmake/install-out-targets.make Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/stepmake/stepmake/install-out-targets.make Sat Mar 5 00:51:47 2005 @@ -6,13 +6,13 @@ # urg, parameterise local-install-outfiles: $(INSTALLATION_OUT_FILES) $(foreach suff, $(INSTALLATION_OUT_SUFFIXES), $(INSTALLATION_OUT_FILES$(suff))) -$(INSTALL) -d $(INSTALLATION_OUT_DIR) - $(foreach i, $(INSTALLATION_OUT_FILES), \ - $(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR)/ && ) true + for i in $(INSTALLATION_OUT_FILES) ; do \ + $(INSTALL) -m 644 $$i $(INSTALLATION_OUT_DIR)/; done $(foreach suff, $(INSTALLATION_OUT_SUFFIXES), \ ($(INSTALL) -d $(INSTALLATION_OUT_DIR$(suff))/ || true) && \ - $(foreach i, $(INSTALLATION_OUT_FILES$(suff)), \ - $(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR$(suff))/ && ) true && ) true - + for i in $(INSTALLATION_OUT_FILES$(suff)); do \ + $(INSTALL) -m 644 $$i $(INSTALLATION_OUT_DIR$(suff))/; \ + done && ) true local-uninstall: local-uninstall-outfiles local-uninstall-files diff -ruN lilypond-2.4.5-orig/stepmake/stepmake/install-targets.make lilypond-2.4.5/stepmake/stepmake/install-targets.make --- lilypond-2.4.5-orig/stepmake/stepmake/install-targets.make Sat Mar 5 00:51:32 2005 +++ lilypond-2.4.5/stepmake/stepmake/install-targets.make Sat Mar 5 00:51:47 2005 @@ -7,12 +7,13 @@ local-install-files: $(INSTALLATION_FILES) $(PRE_INSTALL) -$(INSTALL) -d $(INSTALLATION_DIR) - $(foreach i, $(INSTALLATION_FILES),\ - $(INSTALL) -m 644 $(i) $(INSTALLATION_DIR)/ &&)true + for i in $(INSTALLATION_FILES) ; do \ + $(INSTALL) -m 644 $$i $(INSTALLATION_DIR)/; done $(foreach suff, $(INSTALLATION_SUFFIXES), \ ($(INSTALL) -d $(INSTALLATION_DIR$(suff)) || true) && \ - $(foreach i, $(INSTALLATION_FILES$(suff)), \ - $(INSTALL) -m 644 $(i) $(INSTALLATION_DIR$(suff))/ && ) && ) true + for i in $(INSTALLATION_FILES$(suff)) ; do \ + $(INSTALL) -m 644 $$i $(INSTALLATION_DIR$(suff))/ ; \ + done && ) true $(POST_INSTALL) local-uninstall: local-uninstall-outfiles local-uninstall-files