]> git.donarmstrong.com Git - lilypond.git/commitdiff
remove .eps rules
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 1 Nov 2006 00:12:53 +0000 (00:12 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 1 Nov 2006 00:12:53 +0000 (00:12 +0000)
bugfixes for git-update-changelog.py
remove .deb/.rpm downloading.
rm fontdir target.
otf depends on otf-g?table. Fixes race condition in -j2 build.(cherry picked from b0628c40c47202bddac01e18cd4808b3c9d12faf commit)
don't use ImageMagick, use GS directly.

ChangeLog
Documentation/user/GNUmakefile
buildscripts/git-update-changelog.py
mf/GNUmakefile

index 1bf00206b7f77a999cc7bb3aa8bf49ec569af619..9ab19c955f42b28a2b0c8928c2072d7274fb6897 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2006-10-31  Han-Wen Nienhuys  <hanwen@lilypond.org>
+
+       * Documentation/user/GNUmakefile: 
+       don't use ImageMagick, use GS directly.
+
+       * mf/GNUmakefile: 
+       otf depends on otf-g?table. Fixes race condition in -j2 build.(cherry picked from b0628c40c47202bddac01e18cd4808b3c9d12faf commit)
+
+       * mf/GNUmakefile: 
+       rm fontdir target.
+
+       * mf/GNUmakefile: 
+       remove .deb/.rpm downloading.
+
+       * buildscripts/git-update-changelog.py: 
+       bugfixes for git-update-changelog.py
+
+       * Documentation/user/GNUmakefile: 
+       remove .eps rules
+
 2006-10-30  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
        * input/regression/tie-semi-single.ly: 
index d58ce5c1bc9e715fb97570cab34ab149f30fcd16..bab25063094579decd942e385fdadba6560cae5c 100644 (file)
@@ -195,13 +195,7 @@ $(outdir)/%.png: %.png
        convert -geometry 50x50% $< $@
 
 $(outdir)/%.png: %.eps
-       convert $< $@
-
-$(outdir)/%.eps: %.png
-       convert $< $@
-
-$(outdir)/%.eps: %.eps
-       cp $< $@
+       gs -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -q -sOutputFile=$@ -sDEVICE=png16m -dEPSCrop -dNOPAUSE -f $< -c quit
 
 $(outdir)/%.pdf: %.png
        convert $< $@
index fba7c65f23917d829e00bfb37abaf5adec4a19b4..a1cb3cf2f961bead4f16c83311ce72141808826e 100644 (file)
@@ -150,7 +150,9 @@ Run this file from the CVS directory, with --git-dir
         log = log[len (first):]
 
     file_adddel = []
-    final_log = ''
+    
+    collated_log = ''
+    collated_message = ''
     
     for c in commits:
         print 'patch ', c.committish
@@ -168,14 +170,13 @@ Run this file from the CVS directory, with --git-dir
 
             new_log += header (last_commit)
 
-        new_log = changelog_body (c)  + new_log
+        collated_log = changelog_body (c)  + collated_log
         last_commit = c
 
-# FIXME: correct fix?
-#        final_log += self.message + '\n'
-        final_log += log
-        
+        collated_message += c.message + '\n'
         
+
+
     for (op, f) in file_adddel:
         if op == 'del':
             system ('cvs remove %(f)s' % locals ())
@@ -183,9 +184,9 @@ Run this file from the CVS directory, with --git-dir
             system ('cvs add %(f)s' % locals ())
 
     if last_commit: 
-        new_log = header (last_commit) + new_log + '\n'
+        collated_log = header (last_commit) + collated_log + '\n'
 
-    log = new_log + log
+    log = collated_log + log
 
     try:
         os.unlink ('ChangeLog~')
@@ -195,8 +196,9 @@ Run this file from the CVS directory, with --git-dir
     os.rename ('ChangeLog', 'ChangeLog~')
     open ('ChangeLog', 'w').write (log)
 
-    open ('.msg','w').write (final_log)
-    print 'cvs commit -F .msg '
+    open ('.msg','w').write (collated_message)
+    print '\nCommit message\n**\n%s\n**\n' % collated_message
+    print '\nRun:\n\n\tcvs commit -F .msg\n\n'
     
 main ()
     
index 8a60b496309e04e845f1d0d9a6e7a4ebe38302e9..0956ee36ef0f9ed4a8c1883b102d76df6de96772 100644 (file)
@@ -60,10 +60,10 @@ $(outdir)/aybabtu.otf-gtable: $(BRACES:%=$(outdir)/feta-braces-%.otf-gtable)
 #
 
 
-$(outdir)/emmentaler-%.otf $(outdir)/emmentaler-%.svg: $(outdir)/emmentaler-%.pe $(outdir)/feta%.pfa  $(outdir)/feta-alphabet%.pfa  $(outdir)/parmesan%.pfa
+$(outdir)/emmentaler-%.otf $(outdir)/emmentaler-%.svg: $(outdir)/emmentaler-%.pe $(outdir)/feta%.pfa  $(outdir)/feta-alphabet%.pfa  $(outdir)/parmesan%.pfa $(outdir)/feta%.otf-table $(outdir)/feta%.otf-gtable
        cd $(outdir) && $(FONTFORGE) -script $(notdir $(basename ,$@).pe)
 
-$(outdir)/aybabtu.otf $(outdir)/aybabtu.svg: $(outdir)/aybabtu.pe $(foreach s,$(BRACES),$(outdir)/feta-braces-$(s).pfa)
+$(outdir)/aybabtu.otf $(outdir)/aybabtu.svg: $(outdir)/aybabtu.pe $(foreach s,$(BRACES),$(outdir)/feta-braces-$(s).pfa) $(outdir)/aybabtu.otf-table $(outdir)/aybabtu.otf-gtable
        cd $(outdir) && $(FONTFORGE) -script aybabtu.pe
        -rm -f $(outdir)/*.scale.{pfa,afm}
 
@@ -140,23 +140,11 @@ default: $(ALL_GEN_FILES) $(outdir)/emmentaler-20.otf tree-regen
 tree-regen:
        ${MAKE} -C $(top-build-dir) link-mf-tree
 
-debian-mirror=http://ftp.us.debian.org
-debian-package =lilypond_$(TOPLEVEL_VERSION)-1_i386.deb
-$(outdir)/$(debian-package):
-       wget --passive-ftp -P $(outdir) $(debian-mirror)/debian/pool/main/l/lilypond/$(debian-package)
-
-redhat-package=lilypond-$(TOPLEVEL_VERSION)-1.i386.rpm
-$(outdir)/$(redhat-package):
-       wget  --passive-ftp -P $(outdir) http://lilypond.org/download/binaries/Fedora-4/$(redhat-package)
-
 ##
 ## todo: this also depends on .tfm, FIXME.
 $(outdir)/%.lisp $(outdir)/%.otf-gtable $(outdir)/%.enc  $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log $(outdir)/%.tfm
        $(PYTHON) $(buildscript-dir)/mf-to-table.py --global-lisp=$(outdir)/$(<F:.log=.otf-gtable) --lisp=$(outdir)/$(<F:.log=.lisp) --outdir=$(outdir) --dep $(outdir)/$(<F:.log=.dep) --enc $(outdir)/$(<F:.log=.enc) --tex $(outdir)/$(<F:.log=.tex) $<
 
-fontdir: $(addprefix $(outdir)/, lilypond.map lilypond.sfd private-fonts fonts.scale fonts.dir Fontmap.lily)
-
-
 local-clean:
        rm -f mfplain.mem mfplain.log
        rm -f *.tfm *.log