lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build and Runtime Errors with MFTrace 1.2.3


From: Andreas Scherer
Subject: Build and Runtime Errors with MFTrace 1.2.3
Date: Tue, 2 May 2006 06:34:03 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

There are (at least) two issues with the CVS contents of MFTrace 1.2.3:

(1) "sh autogen.sh" produces a "mftrace.spec" file that references two ".pyo" 
files that "make" will not create.

(2) After building and installing "mftrace-1.2.3-1.i586.rpm", "mftrace 
--version" fails, because of two "UnindentErrors" in the main script.

The attached patch tries to fix these two problems.

Take care

Index: mftrace/mftrace.spec.in
===================================================================
--- mftrace/mftrace.spec.in     (Revision 1)
+++ mftrace/mftrace.spec.in     (Revision 2)
@@ -42,10 +42,8 @@
 %{_prefix}/bin/mftrace
 %{_mandir}/man1/mftrace.1.gz
 %{_datadir}/mftrace/afm.pyc
-%{_datadir}/mftrace/afm.pyo
 %{_datadir}/mftrace/afm.py
 %{_datadir}/mftrace/tfm.pyc
-%{_datadir}/mftrace/tfm.pyo
 %{_datadir}/mftrace/tfm.py
 %doc README.txt

Index: mftrace/mftrace.py
===================================================================
--- mftrace/mftrace.py  (Revision 1)
+++ mftrace/mftrace.py  (Revision 2)
@@ -504,7 +504,7 @@
     # for single glyph testing.
     # glyphs = []
     for a in glyphs:
-          if encoding[a] == ".notavail":
+        if encoding[a] == ".notavail":
             continue
         valid = metric.has_char (a)
         if not valid:
@@ -783,9 +783,9 @@
   return outname

 def make_outputs (fontname, formats, encoding):
-     """
-     run pfaedit to convert to other formats
-     """
+    """






reply via email to

[Prev in Thread] Current Thread [Next in Thread]