From 40d7709965e75c66f17fcba92790cdbea0d23a2a Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Fri, 18 Sep 1998 15:25:02 +0200
Subject: [PATCH] patch::: 1.0.9.jcn1: patsje

pl 9.jcn1
	- started gnuisation of website
	  * filetype and size
	  * 'no gifs due to patent problems'
	- bumped stepmake version nr (again):
	  please update stepmake/VERSION after making changes to stepmake...
---
 Documentation/tex/GNUmakefile            |  5 +++-
 Documentation/tex/html-disclaimer.yo-urg | 15 ++++++++++
 Documentation/tex/refman.yo              |  1 +
 Documentation/tex/tutorial.yo            | 10 +------
 NEWS                                     |  6 ++++
 VERSION                                  |  2 +-
 buildscripts/mutopia-index.py            | 35 ++++++++++++++++--------
 lily/VERSION                             |  2 +-
 make/STATE-VECTOR                        |  1 +
 stepmake/NEWS                            |  3 ++
 stepmake/VERSION                         |  2 +-
 11 files changed, 57 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/tex/html-disclaimer.yo-urg

diff --git a/Documentation/tex/GNUmakefile b/Documentation/tex/GNUmakefile
index 951d7b4d80..cda611dd31 100644
--- a/Documentation/tex/GNUmakefile
+++ b/Documentation/tex/GNUmakefile
@@ -8,10 +8,13 @@ DOC_FILES = $(wildcard *.doc)
 DVI_FILES = $(addprefix $(outdir)/,$(DOC_FILES:.doc=.dvi) $(YO_FILES:.yo=.dvi))
 OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES))
 
+# just include me
+YO_URG_FILES = $(wildcard *.yo-urg)
+
 OUTDOC_FILES = $(addprefix $(outdir)/, $(DOC_FILES))
 EL_FILES = $(wildcard *.el)
 BIB_FILES= $(wildcard *.bib)
-EXTRA_DIST_FILES= $(BIB_FILES) $(DOC_FILES) $(DATA_FILES) $(EL_FILES)
+EXTRA_DIST_FILES= $(BIB_FILES) $(DOC_FILES) $(DATA_FILES) $(EL_FILES) $(YO_URG_FILES)
 HTML_FILES = $(addprefix $(outdir)/, $(YO_FILES:.yo=.html))
 PS_FILES = $(DVI_FILES:.dvi=.ps)
 
diff --git a/Documentation/tex/html-disclaimer.yo-urg b/Documentation/tex/html-disclaimer.yo-urg
new file mode 100644
index 0000000000..2fa20c33aa
--- /dev/null
+++ b/Documentation/tex/html-disclaimer.yo-urg
@@ -0,0 +1,15 @@
+COMMENT(
+I cannot be named .yo, because i'm not a complete document, yodl2x will break.
+)
+whenhtml(
+nsubsect(Disclaimer)
+This document is written in url(Yodl)(ftp://pcnov095.win.tue.nl/pub/yodl)
+and should foremost produce nice LaTeX() output.
+In other formats, such as html, some things will look a bit different,
+while other things will be simply left out.
+Therefore, the authoritive version of this document is the PostScript version, 
+produced via LaTeX().
+As you know, url(no gifs due to patent problems)(http://www.gnu.org/philosophy/gif.html), 
+but the png images should be viewable with any current browser 
+(jpeg is inappropriate for music images).
+)
diff --git a/Documentation/tex/refman.yo b/Documentation/tex/refman.yo
index e591332169..396e561d97 100644
--- a/Documentation/tex/refman.yo
+++ b/Documentation/tex/refman.yo
@@ -49,6 +49,7 @@ latexcommand(\def\texttt#1{\tt #1})
 latexcommand(\def\textbf#1{\bf #1})
 )
 
+includefile(html-disclaimer.yo-urg)
 
 bf(This document is not up to date).  All rendered examples of course
 are current, but the rest probably isn't.  Adjusting the tutorial was
diff --git a/Documentation/tex/tutorial.yo b/Documentation/tex/tutorial.yo
index ef463ef7aa..1f0d591e5f 100644
--- a/Documentation/tex/tutorial.yo
+++ b/Documentation/tex/tutorial.yo
@@ -62,15 +62,7 @@ latexcommand(\def\preexample{\par})
 latexcommand(\def\postexample{\par\medskip})
 latexcommand(\def\file#1{{mycode(#1)}})
 
-whenhtml(
-nsubsect(Disclaimer)
-This document is written in url(Yodl)(ftp://pcnov095.win.tue.nl/pub/yodl)
-and should foremost produce nice LaTeX() output.
-In other formats, such as html, some things will look a bit different,
-while other things will be simply left out.
-Therefore, the authoritive version of this document is the PostScript version, 
-produced via LaTeX().
-)
+includefile(html-disclaimer.yo-urg)
 
 sect(Introduction)
 label(tutorial:introduction)
diff --git a/NEWS b/NEWS
index 63070dc0a4..3f4773076a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+pl 9.jcn1
+	- started gnuisation of website
+	  * filetype and size
+	  * 'no gifs due to patent problems'
+	- bumped stepmake version nr (again):
+	  please update stepmake/VERSION after making changes to stepmake...
 
 (need to fix pictures. I know)
 
diff --git a/VERSION b/VERSION
index de6ca504c0..b67dc4d731 100644
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=0
 PATCH_LEVEL=9
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
diff --git a/buildscripts/mutopia-index.py b/buildscripts/mutopia-index.py
index a4c4652b92..b72042cadf 100644
--- a/buildscripts/mutopia-index.py
+++ b/buildscripts/mutopia-index.py
@@ -6,6 +6,7 @@ name = 'mutopia-index'
 import regex
 import os
 import sys
+import stat
 sys.path.append ('@abs-step-bindir@')
 
 
@@ -77,11 +78,15 @@ def gen_list(inputs, subdir, filename):
 	list.write ('</ul>')
 
     list.write('<h2>Contents of this directory</h2>\n');
-    list.write ('These example files are taken from the LilyPond distribution.\n'
-     'LilyPond currently only outputs TeX and MIDI. The pictures and\n'
-     'PostScript files were generated using TeX, Ghostscript and some\n'
-     'graphics tools.  The papersize used for these examples is A4.  The GIF\n'
-     'files have been scaled to eliminate aliasing.\n');
+    list.write (
+    'These example files are taken from the LilyPond distribution. '
+    'LilyPond currently only outputs TeX and MIDI.  The pictures and '
+    'PostScript files were generated using TeX, Ghostscript and some '
+    'graphics tools.  The papersize used for these examples is A4. '
+    'As you know, <a href="http://www.gnu.org/philosophy/gif.html">no gifs due to patent problems</a>, '
+    'but the png images should be viewable with any current browser '
+    '(jpeg is inappropriate for music images).'
+    '\n');
 
 
     for ex in inputs:
@@ -109,18 +114,24 @@ def gen_list(inputs, subdir, filename):
 	if desc <> '':
 	    list.write('%s<p>' % desc)
 	list.write ('<ul>')
-	def list_item(filename, desc, l = list):
+	def list_item(filename, desc, type, l = list):
 	    if file_exist_b(filename):
-		l.write ('<li><a href=%s>%s</a>\n' % (filename, desc))
-	    
-	list_item(ex + ex_ext + '.txt', 'The input')
+		l.write ('<li><a href=%s>%s</a>' % (filename, desc))
+		size=os.stat(filename)[stat.ST_SIZE]
+		l.write (' (%s %dk)' % (type, (size + 512) / 1024))
+		pictures = ['jpeg', 'png', 'xpm']
+		# silly, no?
+		if 0 and type in pictures:
+		    l.write (' <a href="http://www.gnu.org/philosophy/gif.html">no gifs due to patent problems</a>')
+		l.write ('\n')
+	list_item(ex + ex_ext + '.txt', 'The input', 'ASCII')
 	for pageno in range(1,100):
 	    f  = ex + '-page%d.png' % pageno
 	    if not file_exist_b (f):
 		break
-	    list_item(f, 'The output (picture, page %d)' % pageno)
-	list_item(ex + '.ps.gz', 'The output (gzipped PostScript)')
-	list_item(ex + '.midi', 'The output (MIDI)')
+	    list_item(f, 'The output, page %d' % pageno, 'png')
+	list_item(ex + '.ps.gz', 'The output', 'gzipped PostScript')
+	list_item(ex + '.midi', 'The output', 'MIDI')
 	list.write ("</ul>");
 
     list.write( "</BODY></HTML>");
diff --git a/lily/VERSION b/lily/VERSION
index de6ca504c0..b67dc4d731 100644
--- a/lily/VERSION
+++ b/lily/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=0
 PATCH_LEVEL=9
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
diff --git a/make/STATE-VECTOR b/make/STATE-VECTOR
index b96a511924..cf29514195 100644
--- a/make/STATE-VECTOR
+++ b/make/STATE-VECTOR
@@ -80,3 +80,4 @@
 1.0.8.jcn1
 1.0.8.uu1
 1.0.9
+1.0.9.jcn1
diff --git a/stepmake/NEWS b/stepmake/NEWS
index ac662d058d..518805cb3c 100644
--- a/stepmake/NEWS
+++ b/stepmake/NEWS
@@ -1,3 +1,6 @@
+pl 51
+	- bumped version nr
+
 pl 50
 	- bf's: PATHSEP
 	- png
diff --git a/stepmake/VERSION b/stepmake/VERSION
index a044234f74..8571e128dc 100644
--- a/stepmake/VERSION
+++ b/stepmake/VERSION
@@ -1,7 +1,7 @@
 PACKAGE_NAME=StepMake
 MAJOR_VERSION=0
 MINOR_VERSION=1
-PATCH_LEVEL=50
+PATCH_LEVEL=51
 MY_PATCH_LEVEL=
 
 # use the above to send patches, always empty for released version:
-- 
2.39.5