]> git.donarmstrong.com Git - lilypond.git/commitdiff
* make/lilypond.fedora.spec.in (Requires): scrap kpathsea/tex
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 7 Mar 2005 00:44:46 +0000 (00:44 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 7 Mar 2005 00:44:46 +0000 (00:44 +0000)
requirements

* stepmake/aclocal.m4: check dynamic link, by checking if kpathsea
executable is < 40k

ChangeLog
kpath-guile/GNUmakefile
lily/GNUmakefile
make/lilypond-vars.make
make/lilypond.fedora.spec.in
stepmake/aclocal.m4

index 2714a9ba42e9ef235e945fb50c61aec3460f1c4b..e5540203ff65e9eba17e03e0c7c826b4f32b6fde 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-03-07  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * make/lilypond.fedora.spec.in (Requires): scrap kpathsea/tex
+       requirements
+
        * stepmake/aclocal.m4: check dynamic link, by checking if kpathsea
        executable is < 40k
 
index eec5e650c36d50b0878d1c3b7eac743718ba5d58..b10a6dc6a0f6bb12effeb57437564bed443b76d7 100644 (file)
@@ -7,7 +7,6 @@ SCRIPTS =
 STEPMAKE_TEMPLATES = library c po
 
 MODULE_CFLAGS = -std=c99
-#MODULE_LDFLAGS = $(KPATHSEA_LIBS)
 
 include $(depth)/make/stepmake.make 
 
index 8070b6ad40dfac3c2a62e213d6a2e64a6ec7e79e..651cc6d4acb90a7f42d2bc1db4690073cc00ac3c 100644 (file)
@@ -7,6 +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)
 
 
 HELP2MAN_EXECS = lilypond
index 138c1f03ab4175172e7ea555aaee8fe80a9c595e..d9946a8914baddab69e0d54e884da51ed60516e1 100644 (file)
@@ -6,7 +6,7 @@ export PATH:=$(builddir)/lily/$(outconfbase):$(builddir)/buildscripts/$(outconfb
 
 # LilyPond is often run from within $(outdir), making a relative
 # PREFIX incorrect.
-export LILYPONDPREFIX:=$(build_lilypond_datadir)
+export LILYPONDPREFIX:=$(build_lilypond_datadir)/$(TOPLEVEL_VERSION)
 
 export PYTHONPATH:=$(builddir)/python/$(outconfbase):$(PYTHONPATH)
 
index 6df1069fbcba0929c51ef2ba227720fb623159e8..f77d79a2d1d2f0dd193499663046ef773a5cdb06 100644 (file)
@@ -21,7 +21,7 @@ Buildrequires: freetype-devel >= 2.1
 Buildrequires: fontforge
 #fontforge must be >= 20041211 urg. 0.0.0-fdr.1.20041211
 
-Requires: tetex  tetex-latex libstdc++ python  tetex-dvips tetex-latex
+Requires: libstdc++ python 
 Requires: guile >= 1.6.4-8 ghostscript >= 8.15
 
 %description
@@ -48,7 +48,7 @@ Documentation and example files of LilyPond. An index is available at
 # In fact, do not take out the spaces between % and { in the above comment,
 # because RPM will gladly do a substitution anyway.
 
-./configure --disable-checking --prefix=%{_prefix} --enable-optimising
+./configure --without-kpathsea --disable-checking --prefix=%{_prefix} --enable-optimising
 
 
 make all
index c87968c4e24cea0371b016ae57d4d20fd746f060..07bb56d3b9f58b4c9b714467ba8f1a5c6afaae90 100644 (file)
@@ -803,6 +803,8 @@ AC_DEFUN(STEPMAKE_KPATHSEA, [
     if test "$have_libkpathsea_so" = "maybe"; then
        if test $shared_size -lt 40000 ; then
          have_libkpathsea_so=yes
+       else
+         have_libkpathsea_so=no
        fi
     fi
     
@@ -818,6 +820,9 @@ AC_DEFUN(STEPMAKE_KPATHSEA, [
     if test "$kpathsea_b" != no; then
         AC_MSG_RESULT(yes)
        KPATHSEA=1
+       if "$have_libkpathsea_so" = "no" ; then
+         KPATHSEA_LIBS="-lkpathsea"
+       fi
     else
         AC_MSG_RESULT(no)
        KPATHSEA=0