* Han-Wen Nienhuys on Saturday, November 05, 2005 at 00:32:11 +0100: > If you want to use TeX, be my guest; there still is a TeX backend, > > lilypond -b tex foo.ly > > which uses TeX to get exact metrics.
Ok. I got 2.7.15 compiled and it works (choking on the copyright sign but I eliminated that from the .tex file). lilypond.map is not created/installed though; there's a link from dvips/map to ../fonts/map but fonts/map is not created. lilypond-book does not work yet. Or I don't know which parameter to pass that corresponds to -b tex. > It might have bitrotted a bit, but > if you're keen on using it, I trust that you will produce nice patches. Well, as a first try I attach my patch for 2.7.15 on MacOS 10.3.9. I am using libraries from the fink distribution but a self compiled teTeX in /usr/local/teTeX. environment: LDFLAGS=-lexpat -L/usr/local/teTeX/lib -L/sw/lib/pango-ft219/lib -L/sw/lib CPPFLAGS=-g -O3 -I/usr/local/teTeX/include -I/sw/include PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin GUILE=/sw/bin/guile-16 SGML_CATALOG_FILES=/sw/etc/sgml/catalog FONTCONFIG_FILE=/sw/share/fontconfig-path/fontconfig-path.conf GDK_USE_XFT=1 CXXFLAGS=-g -O3 -I/usr/local/teTeX/include -I/sw/include PATH=/sw/var/lib/fink/path-prefix-g++-3.3:/usr/local/teTeX/bin:/usr/local/bin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin XML_CATALOG_FILES=/sw/etc/xml/catalog LD_PREBIND_ALLOW_OVERLAP=1 QMAKESPEC=/sw/share/qt3/mkspecs/darwin-g++ CXX=g++-3.3 SHLVL=2 LD_PREBIND=1 CFLAGS=-g -O3 -I/usr/local/teTeX/include -I/sw/include LD_SEG_ADDR_TABLE=/sw/var/lib/fink/prebound/seg_addr_table MACOSX_DEPLOYMENT_TARGET=10.3 GUILE_CONFIG=guile-1.6-config ACLOCAL_FLAGS=-I/sw/share/aclocal PKG_CONFIG_PATH=/sw/lib/pango-ft219/lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pkgconfig PYTHON=/sw/bin/python2.4 compiling: $ PREFIX=/usr/local ./lexer-gcc-3.1.sh $ ./autogen.sh --noconf $ ./configure --prefix=/usr/local --with-kpathsea-include=/usr/local/teTeX/include --with-kpathsea-lib=/usr/local/teTeX/lib > You will have to compile Lily by yourself, though. It's a first step. c -- _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>
diff -ruN lilypond-2.7.15-orig/kpath-guile/kpath.c lilypond-2.7.15/kpath-guile/kpath.c --- lilypond-2.7.15-orig/kpath-guile/kpath.c Mon Aug 15 00:27:53 2005 +++ lilypond-2.7.15/kpath-guile/kpath.c Sun Nov 6 13:18:55 2005 @@ -111,7 +111,7 @@ } -static char const* LIBKPATHSEA = "libkpathsea.so"; +static char const* LIBKPATHSEA = "libkpathsea.dylib"; int open_library () diff -ruN lilypond-2.7.15-orig/lexer-gcc-3.1.sh lilypond-2.7.15/lexer-gcc-3.1.sh --- lilypond-2.7.15-orig/lexer-gcc-3.1.sh Sun May 8 15:07:41 2005 +++ lilypond-2.7.15/lexer-gcc-3.1.sh Sun Nov 6 10:29:22 2005 @@ -8,7 +8,7 @@ if [ -z "$FLEXLEXER" ]; then -includes="$HOME/usr/include $PREFIX/include /usr/local/include /usr/include" +includes="$HOME/usr/include /usr/local/teTeX/include /sw/include $PREFIX/include /usr/local/include /usr/include" for i in $includes; do file=$i/FlexLexer.h @@ -45,7 +45,7 @@ rm -f lily/$outdir/FlexLexer.h perl -p -e 's/iostream.h/iostream/g;' \ -e 's/\bistream\b/std::istream/g;' \ - -e 's/\bostream\b/std::ostream/' \ + -e 's/\bostream\b/std::ostream/g' \ $file > lily/$outdir/FlexLexer.h echo "done" diff -ruN lilypond-2.7.15-orig/stepmake/stepmake/c++-rules.make lilypond-2.7.15/stepmake/stepmake/c++-rules.make --- lilypond-2.7.15-orig/stepmake/stepmake/c++-rules.make Thu May 12 14:04:53 2005 +++ lilypond-2.7.15/stepmake/stepmake/c++-rules.make Sun Nov 6 10:34:31 2005 @@ -26,6 +26,8 @@ $(outdir)/%.cc: %.ll $(FLEX) -Cfe -p -p -o$@ $< + perl -i.bak -pe 's/^class istream;/#include <iostream>;\nusing namespace std;/' $@ $(outdir)/%-rc.o: $(outdir)/%.rc $(WINDRES) $(WINDRES_FLAGS) -o$@ $< + diff -ruN lilypond-2.7.15-orig/stepmake/stepmake/compile-vars.make lilypond-2.7.15/stepmake/stepmake/compile-vars.make --- lilypond-2.7.15-orig/stepmake/stepmake/compile-vars.make Wed Nov 2 11:23:47 2005 +++ lilypond-2.7.15/stepmake/stepmake/compile-vars.make Sun Nov 6 10:15:01 2005 @@ -3,11 +3,7 @@ ALL_LDFLAGS = $(LDFLAGS) $(CONFIG_LDFLAGS) $($(PACKAGE)_LDFLAGS) $(MODULE_LDFLAGS) $(CONFIG_LDFLAGS) PIC_FLAGS = -fpic -fPIC -ifeq ($(MINGW_BUILD),) -SHARED_FLAGS = -shared -else -SHARED_FLAGS = -mdll -endif +SHARED_FLAGS = -bundle -flat-namespace -undefined dynamic_lookup o-dep-out = $(outdir)/$(subst .o,.dep,$(notdir $@))# DO_O_DEP = rm -f $(o-dep-out); DEPENDENCIES_OUTPUT="$(o-dep-out) $(outdir)/$(notdir $@)"
_______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond