-2006-11-07 Erlend Aasland <erlenda@gmail.com>
-
- * scm/music-function.scm (add-ballon-text): add FIXME comment.
-
- * scm/define-grob-properties.scm: remove old balloon stuff,
- and do some trivial beautification.
-
-2006-11-06 Nicolas Sceaux <nicolas.sceaux@free.fr>
-
- * scm/music-functions.scm (markup-expression->make-markup): fix
- the case when a markup found in a markup list is a simple
- string (Issue #147).
-
-2006-11-05 Han-Wen Nienhuys <hanwen@lilypond.org>
-
- * lily/instrument-name-engraver.cc:
- * input/regression/instrument-name-dynamic.ly:
- ignore dynamic and pedal line spanners.
-
- * Documentation/topdocs/NEWS.tely:
- * Documentation/user/advanced-notation.itely:
- * THANKS:
- * input/regression/balloon.ly:
- * lily/balloon.cc:
- * ly/music-functions-init.ly:
- * scm/define-event-classes.scm:
- * scm/define-grobs.scm:
- * scm/define-music-properties.scm:
- * scm/define-music-types.scm:
- * scm/output-lib.scm:
- * lily/balloon-engraver.cc:
- rewrite balloon-text support. This is now a separate grob, with itsvictim as the parent. This involves addingBalloon_engraver, AnnotateOutputEvent, annotate-output-event,\balloonText, \balloonGrobText, and modifying Balloon_interface::print.
-
- * lily/paper-score.cc:
- remove progress again
-
- * lily/chord-name-engraver.cc:
- formatting nitpicks.
-
- * lily/paper-score.cc:
- some useless statistics.
-
- * buildscripts/git-update-changelog.py:
- update todo/done after rejection due to removal analysis.
-
- * buildscripts/git-update-changelog.py:
- check whether removals from a diff actually apply.
-
2006-11-05 Joe Neeman <joeneeman@gmail.com>
* lily/include/page-turn-page-breaking.hh: remove unused
* flower/polynomial.cc (check_sol): no empty if bodies.
+2006-10-30 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * stepmake/stepmake/po-vars.make: Resolve.
+
+2006-10-29 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * stepmake/stepmake/po-vars.make: test change for GIT gateway.
+
+2006-10-29 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * buildscripts/git-update-changelog.py (main): write .msg and cvs
+ command.
+
+ * scm/define-grobs.scm:
+ separation-items have width
+
+ * VERSION:
+ bump version
+
+ * .gitignore:
+ * Documentation/topdocs/NEWS.tely:
+ * lily/separating-group-spanner.cc:
+ * lily/slur-engraver.cc:
+ * lily/slur-scoring.cc:
+ * scm/define-grobs.scm:
+ * input/regression/slur-clef.ly:
+ add breakableSeparationItem to extra encompass for slurs. This
+ fixes slur/clef slur/key collisions etc. Should fix #49
+
+ * lily/include/slur-scoring.hh:
+ * lily/slur-scoring.cc:
+ Use X of separation item as slur start. Fixes #120
+
+2006-10-29 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * buildscripts/git-update-changelog.py (changelog_body): don't
+ write committishes.
+
+ * lily/grob.cc: add avoid-slur
+
+2006-10-28 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * emacsclient.patch:
+ * server.el.patch:
+ move server/emacsclient to elisp/
+
+ * buildscripts/git-update-changelog.py (Commit.note_del_file):
+ apply patches too
+
+ * elisp/server.el.patch:
+ move emacs patches.
+
+ * elisp/emacsclient.patch:
+ emacsclient too.
+
+ * buildscripts/git-update-changelog.py:
+ ignore ChangeLog
+
+ * .gitignore:
+ update
+
+ * ChangeLog:
+ * buildscripts/git-update-changelog.py:
+ script to update ChangeLog with Git messages.
+
+ * lily/beam-engraver.cc:
+ * input/regression/rest-pitched-beam.ly:
+ don't set callback if staff-position set. Fixes #126.
+
+ * lily/bar-number-engraver.cc:
+ * lily/beam.cc:
+ * lily/fingering-engraver.cc:
+ * lily/grob-property.cc:
+ * lily/grob.cc:
+ * lily/include/grob.hh:
+ * lily/include/lily-guile-macros.hh:
+ * lily/mark-engraver.cc:
+ * lily/melody-engraver.cc:
+ * lily/script-column.cc:
+ * lily/tie-formatting-problem.cc:
+ * lily/tie.cc:
+ internal_get_property_data() using ly_symbol2scm()
+
+ * stepmake/stepmake/generic-targets.make:
+ create .gitignore in outdir.
+
+ * .gitignore:
+ new file.
+
+2006-10-28 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * input/test/vertical-extent.ly:
+ * python/convertrules.py (conv): verticalExtent -> VerticalAxisGroup.
+
+2006-10-28 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * stepmake/bin/add-html-footer.py (compose): remove setgcos
+
+2006-10-28 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * GNUmakefile.in (install-help2man): install-help2man target.
+
+2006-10-27 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * SConstruct (configure): Do not check for /bin/sh.
+
+2006-10-27 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * mf/GNUmakefile: explicit dependencies for emmentaler .otf-table
+ files.
+
+ * Documentation/topdocs/NEWS.tely (Top): add FretBoards example.
+
+ * input/regression/fret-boards.ly: new file.
+
+ * po/de.po: new po courtesy translation team.
+
+ * scripts/lilypond-book.py (get_option_parser): add newline to doc
+ string.
+
+2006-10-27 Mats Bengtsson <mabe@drongo.s3.kth.se>
+
+ * ly/gregorian-init.ly (neumeDemoLayout): update
+ minimumVerticalExtent -> VerticalAxisGroup #'minimum-Y-extent
+
+ * scm/define-context-properties.scm, ly/engraver-init.ly: Remove
+ obsolete verticalExtent / extraVerticalExtent / minumumVerticalExtent
+
+2006-10-27 Erlend Aasland <erlenda@gmail.com>
+
+ * GNUmakefile.in ($(tree-share-prefix)/mf-link-tree link-mf-tree):
+ Yet another build fix.
+
+2006-10-26 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * SConstruct (lilypondprefix): use sorted() for list_sort()
+ indent 4
+
+2006-10-26 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * flower/SConscript: Unit test rules.
+
+ * flower/test-std.cc: Compile fix.
+
+2006-10-26 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * python/midi.c (pymidi_parse_track): warning fixes.
+
+ * lily/dot-column.cc (struct Dot_position): initialize extremal_head_
+ include dot-column.hh
+
+2006-10-26 Graham Percival <gpermus@gmail.com>
+
+ * Documentation/user/{basic-, global}: minor changes from mailist.
+
+2006-10-26 Erlend Aasland <erlenda@gmail.com>
+
+ * scm/define-grobs.scm: trivial beautification
+
+ * lily/tie-performer.cc: no need to #include "pqueue.hh"
+
+ * lily/source-file.cc: put multibyte var inside #if clause
+
+ * scm/define-grob-interfaces.scm:
+ * scm/define-grob-properties.scm:
+ Build fix (string-fret-finger-combinations)
+
+ * Documentation/topdocs/INSTALL.texi: Remove obsolete info about
+ lexer-gcc-3.1.sh
+
+ * Documentation/user/lilypond-book.itely: Build fix.
+
+2006-10-26 Joe Neeman <joeneeman@gmail.com>
+
+ * lily/system.cc (get_paper_system):
+ * lily/paper-book.cc (systems):
+ move most of the backwards compatibility stuff into
+ Paper_book::systems
+
+ * Documentation/topdocs/NEWS.tely: add 2 entries for the
+ page breaking stuff
+
+ * Documentation/user/page.itely: remove time-scaled-music
+ bug for the Page_turn_engraver
+
+ * lily/paper-book.cc (set_system_penalty): backwards
+ compatibility (breakbefore) for the old page breaker
+
+2006-10-25 Graham Percival <gpermus@gmail.com>
+
+ * Diocumentation/user/instrument-notation.itely: added more
+ info about stanzas; thanks Geoff!
+
+ * Documentation/user/ {basic, advanced}: small fixes from
+ mailist.
+
+ * THANKS: add some bug reporters.
+
+2006-10-25 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * scm/define-context-properties.scm (all-user-translation-properties):
+ noteToFretFunction: Add.
+
+ * scm/define-grobs.scm (all-grob-descriptions): FretBoard: use
+ fret-diagram-interface (WAS: fret-board-interface). Fixes build.
+
+2006-10-23 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * flower/file-name.cc (dos_to_posix): Help std::string.copy with
+ trailing zero.
+
+ * GNUmakefile.in ($(tree-share-prefix)/mf-link-tree link-mf-tree):
+ Remove bashism in delete.
+
+2006-10-25 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * scm/define-grobs.scm (all-grob-descriptions): set finger-code.
+
+ * scm/translation-functions.scm (determine-frets-mf): flatten let*
+
+ * scm/define-context-properties.scm
+ (all-user-translation-properties): add maximumFretStretch property.
+
+ * scm/translation-functions.scm (tunings): read and use maximumFretStretch.
+
+ * lily/source-file.cc (get_counts): use multibyte variable.
+
+ * scm/translation-functions.scm (determine-frets-mf): new
+ function: compute fret numbers.
+
+ * scm/output-lib.scm (string-frets->description) new function.
+ (fret-board::calc-stencil): new function
+
+ * scm/fret-diagrams.scm (fret-diagram-verbose): update doc string.
+
+ * scm/define-grobs.scm (all-grob-descriptions): add FretBoard grob.
+
+ * lily/include/lily-guile.hh (ly_cxx_vector_to_list): new function.
+
+ * lily/tab-note-heads-engraver.cc: cleanups.
+
+ * lily/fretboard-engraver.cc: new file
+
+ * ly/engraver-init.ly: add FretBoards context
+
+2006-10-24 Joe Neeman <joeneeman@gmail.com>
+
+ * lily/grob.cc (pure_relative_y_coordinate)
+ (pure_height): use the new call_pure_function stuff
+
+ * lily/grob-property.cc (call_pure_function): wrapper for the scheme
+ call-pure-function
+
+ * lily/side-position-interface.cc (pure_y_aligned_side): add an
+ optarg
+
+ * lily/simple-closure.cc (ly_eval_simple_closure): make
+ simple-closure evaluatable from scheme
+ (evaluate_with_simple_closure): make simple-closures pure-
+ evaluatable
+
+ * lily/slur.cc (pure_outside_slur_callback): new function
+
+ * ly/paper-defaults.ly: change default blank-page-force to 2 (this
+ fits in with previous changes that made the page forces much
+ smaller)
+
+ * scm/define-grobs.scm (call-pure-function): generalise pure-Y-offset
+ and pure-Y-extent into this new function.
+ (pure-conversions-alist): add outside-slur-callback
+
+2006-10-24 Mats Bengtsson <mabe@drongo.s3.kth.se>
+
+ * Documentation/user/advanced-notation.itely (Instrument names):
+ Remove obsolete bug workaround for instrument names on piano
+ staff.
+
+2006-10-24 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * Documentation/user/lilypond-book.itely (Integrating DocBook and
+ music): patch by Bertalan Fodor for docbook.
+
+ * Documentation/topdocs/GNUmakefile (LILYPOND_BINARY): use instead
+ of $(LILYPOND). Prevents lilypond run for .txt files.
+
+ * INSTALL.txt: gitness.
+
+ * .cvsignore: update to force gitness.
+
+2006-10-23 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * lily/tuplet-bracket.cc (calc_position_and_height): robustness:
+ detect suicide in nested tuplets.
+
+2006-10-23 Werner Lemberg <wl@gnu.org>
+
+ * lily/pango-font.cc (Pango_font::pango_item_string_stencil): Fix
+ typo in argument to FT_Get_X11_Font_Format.
+
+2006-10-23 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * stepmake/stepmake/po-vars.make: more gitness.
+
+ * flower/polynomial.cc (check_sol): no empty if bodies.
+
2006-10-22 Han-Wen Nienhuys <hanwen@lilypond.org>
* stepmake/stepmake/po-vars.make: test change for GIT gateway.
TOPDOC_TXT_FILES = $(addprefix $(top-build-dir)/Documentation/topdocs/$(outdir)/,$(addsuffix .txt,$(TOPDOC_FILES)))
IN_FILES := $(call src-wildcard,*.in)
-EXTRA_DIST_FILES = VERSION .cvsignore SConstruct \
+EXTRA_DIST_FILES = VERSION .cvsignore .gitignore SConstruct \
$(README_FILES) $(SCRIPTS) $(IN_FILES)
INSTALLATION_DIR=$(local_lilypond_datadir)
INSTALLATION_FILES=$(config_make) VERSION
Han-Wen Nienhuys - Core development
Jan Nieuwenhuizen - Core development
-Graham Percival - Documentation Editor and Bug Meister
+Graham Percival - Documentation Editor
Mats Bengtsson - Support Guru
Trevor Daniels
Vaclav Smilauer
Vicente Solsona Dellá
-Victor Eijkhout
-Villum Sejersen
Werner Lemberg
Will Oram
Zoltan V. Laszlo
def compare (self, other):
return sign (time.mktime (self.date) - time.mktime (other.date))
+
def check_diff_chunk (self, filename, chunk):
removals = []
def note_removal (m):
if removals == []:
return True
-
+
+ if not os.path.exists (filename):
+ return False
+
contents = open (filename).read ()
for r in removals:
if r not in contents:
+++ /dev/null
-depth = ..
-
-NAME = cygwin
-
-MKNETRELS = mknetrel $(call src-wildcard,mknetrel.*[a-z])
-EXTRA_DIST_FILES = changelog $(MKNETRELS) $(call src-wildcard,*.hint)
-
-SEXECUTABLES=bug-lilypond-cygwin lily-wins
-STEPMAKE_TEMPLATES = install install-out script
-
-include $(depth)/make/stepmake.make
-
-# For Cygwin builds only
-ifneq ($(CYGWIN_BUILD),)
-
-include $(stepdir)/executable-targets.make
-
-POSTINSTALLS=$(call src-wildcard,postinstall*.sh)
-OUT_POSTINSTALLS=$(POSTINSTALLS:%=$(outdir)/%)
-
-$(outdir)/%.sh: %.sh $(config_make)
- cat $< | sed $(sed-atvariables) > $@
- chmod 755 $@
-
-default: $(OUT_POSTINSTALLS) $(OUTIN_FILES)
-
-# Avoid collapsed directory constructs '//'
-etc=$(patsubst %/,%, $(dir $(prefix)))/etc
-INSTALLATION_OUT_DIR=$(etc)/postinstall
-INSTALLATION_OUT_FILES=$(OUT_POSTINSTALLS)
-
-endif
-
+++ /dev/null
-LilyPond
-------------------------------------------
-LilyPond - The GNU music typesetter.
-
-For more information, tutorial, documentation, packaging instructions, visit:
- http://lilypond.org
-
-Runtime requirements:
- bash
- cygwin-1.5.11 or newer
- ghostscript
- glib2-runtime
- libfontconfig1
- libfreetype2
- libguile12-1.6.5-1 or newer
- libiconv2
- libintl3
- pango-runtime
- python
-
-Suggested:
- xorg-x11-base
- emacs or vim
- ghostscript-x11
- rxvt
- libkpathsea4-3.0.0-3 or newer
- gv
-
-Build requirements:
- binutils-20040725-2 or newer
- bison-1.35 or newer
- coreutils
- cygwin-1.5.11 or newer
- findutils
- flex-2.5.4 or newer
- gcc-2.95.3-5 or newer
- glib2-devel
- guile-devel-1.6.5-1 or newer
- libfontconfig-devel
- libfreetype2-devel
- libguile12-1.6.5-1 or newer
- libkpathsea4-3.0.0-3 or newer
- pango-devel
- python
- sed
- tetex-devel-3.0.0-3 or newer
- texinfo-4.8 or newer
-
-
-Website/documentation build requirements (lilypond-doc package):
- tetex-bin
- tetex-tiny or tetex-base
- ghostscript or ghostscript-x11
-
- mftrace, http://www.cs.uu.nl/people/hanwen/mftrace
- potrace, http://potrace.sourceforge.net
- netpbm, http://netpbm.sourceforge.net
- t1utils, http://www.lcdf.org/~eddietwo/type/
-
-Recommended website/documentation build requirements:
- fontforge, http://fontforge.sourceforge.net
-
-Canonical homepage:
- http:/lilypond.org
-
-Canonical download:
- http://lilypond.org/download
-
-------------------------------------
-
-Build instructions:
-
- # Unpack lilypond-@TOPLEVEL_VERSION@-1-src.tar.bz2 in /usr/src
-
- cd /usr/src
- tar xjf lilypond-@TOPLEVEL_VERSION@-1-src.tar.bz2
- # (or, if you use setup to install this src package, it will be
- # unpacked under /usr/src automatically)
-
- # Get mknetrel from:
- cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/cygwin-apps co mknetrel
-
- # Copy the extra mknetrel script to mknetrel/extra:
- cp lilypond-@TOPLEVEL_VERSION@-1/cygwin/mknetrel mknetrel/extra/lilypond
-
- # Build the package:
-
- ./mknetrel/bin/mknetrel lilypond
-
-This will create:
- /usr/src/uploads/lilypond-@TOPLEVEL_VERSION@-1-src.tar.bz2
- /usr/src/uploads/lilypond-@TOPLEVEL_VERSION@-1.tar.bz2
- /usr/src/uploads/lilypond-doc/lilypond-doc-@TOPLEVEL_VERSION@-1.tar.bz2
-
-------------------
-
-Port notes:
-
- LilyPond builds ootb with cygwin/mknetrel.
-
- Cygwin port maintained by: Jan Nieuwenhuizen.
-
-------------------
-
-Please send questions or comments on this Cygwin package or
-installation to the Cygwin mailing list at: cygwin@cygwin.com.
-However, if you're having problems related to LilyPond, please write
-to lilypond-user@gnu.org. Please do not email the authors directly.
+++ /dev/null
-#!@SHELL@
-# /usr/bin/bug-lilypond-cygwin.sh -- harvest relevant info for bugreport
-#
-# Ideas
-# * add some kpathsea tricks
-# * distribute for other platforms too
-# * failure/success tracking and indication (-> rewrite in python)
-
-set -x
-
-name="$(basename $0)"
-# Running this in new shell may yield deceptive results
-if [ "$name" = "bug-lilypond-cygwin" ]; then
- # HMM
- cat <<EOF
-Please source this script, ie do:
-
- . /usr/bin/bug-lilypond-cygwin > bug.txt
-
-EOF
-fi
-
-docdir=@prefix@/share/doc/lilypond-@TOPLEVEL_VERSION@
-[ ! -d $docdir ] && docdir=@prefix@/doc/lilypond-@TOPLEVEL_VERSION@-1
-[ ! -d $docdir ] && docdir=$(echo @prefix@/share/doc/lilypond-[.-0-9]*)
-[ ! -d $docdir ] && docdir=$(echo @prefix@/doc/lilypond-[.-0-9]*)
-
-echo
-echo Availability of executables
-echo ===========================
-type -p tex
-type -p latex
-type -p kpsewhich
-type -p lilypond-bin
-type -p python
-type -p lilypond
-
-type -p tex.exe
-type -p latex.exe
-type -p kpsewhich.exe
-type -p lilypond-bin.exe
-type -p python.exe
-
-lilypond-bin --version
-python -V
-lilypond --version
-
-
-echo
-echo Test runs
-echo =========
-mkdir -p /tmp/lily
-cd /tmp/lily
-rm -f example-1.* sample2e.*
-ls -l
-latex \\nonstopmode \\input sample2e
-kpsewhich feta20.mf
-kpsewhich feta20.pk
-cp $docdir/input/example-1.ly .
-cp $docdir/input/example-2.ly .
-lilypond example-1.ly
-latex \\nonstopmode \\input example-1.tex
-dvips -o example-1.ps example-1.dvi
-ls -l
-lilypond --verbose example-2
-ls -l
-
-echo
-echo Environment settings
-echo ====================
-# If python is ok and lilypond runs, this all is not really necessary.
-echo HOME="<$HOME>"
-echo SHELL="<$SHELL>"
-echo LILYPONDPREFIX="<$LILYPONDPREFIX>"
-echo TEXMF="<$TEXMF>"
-echo MFINPUTS="<$MFINPUTS>"
-echo TFMFONTS="<$TFMFONTS>"
-echo TEXINPUTS="<$TEXINPUTS>"
-# do we want to know all?
-#set
-
-echo
-echo Registry settings
-echo =================
-regtool get /root/.ly/
-regtool get /root/LilyPond/
-regtool get /root/LilyPond/shell/open/command/
-regtool get /root/.pdf/
-pdfname=$(regtool get /root/.pdf/)
-regtool get /root/$pdfname/shell/open/command/
-regtool get /root/AcroExch.Document/shell/open/command/
-
-echo
-echo System information
-echo ==================
-uname -a
-cygcheck -s
-
-if false; then
- cat /var/log/setup.log
- # cat /var/log/setup.log.full
-fi
-
-
+++ /dev/null
-lilypond (2.6.4-1) unstable; urgency=low
-
- * New upstream release.
- * New Cygwin maintainer.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Mon, 10 Oct 2005 21:30:49 +0200
-
-lilypond (2.5.12-1) unstable; urgency=low
-
- * New upstream release.
- * Several build fixes.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Sat, 26 Feb 2005 10:02:43 +0100
-
-lilypond (2.3.22-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Tue, 12 Oct 2004 14:00:15 +0200
-
-lilypond (2.3.20-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Thu, 7 Oct 2004 00:38:49 +0200
-
-lilypond (1.9.8-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Fri, 19 Sep 2003 23:20:46 +0200
-
-lilypond (1.8.2-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Wed, 17 Sep 2003 18:46:53 +0200
-
-lilypond (1.8.1-12) unstable; urgency=low
-
- * Cygwin build fix: add cygwin-specific profile and postinstall scripts.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Fri, 29 Aug 2003 13:10:17 +0200
-
-lilypond (1.8.1-11) unstable; urgency=low
-
- * New upstream release.
- * ly2dvi fixes for /dev/std* redirection in Python's os.system () for
- when /bin/sh is the lesser /bin/ash from CVS.
- * lilypond-book fix from CVS.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Wed, 27 Aug 2003 19:29:23 +0200
-
-lilypond (1.8.0-11) unstable; urgency=low
-
- * New upstream release.
- * Build on 1.5.1.
- * Omit moving of /usr/share/doc -> /usr/doc.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Thu, 7 Aug 2003 17:47:52 +0200
-
-lilypond (1.7.29-11) unstable; urgency=low
-
- * New upstream release; pre1.8 build.
- * Build for 1.5 abi.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Sun, 27 Jul 2003 22:44:27 +0200
-
-lilypond (1.7.28-2) unstable; urgency=low
-
- * New upstream release; pre1.8 build.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Thu, 24 Jul 2003 19:31:59 +0200
-
-lilypond (1.7.25-1) unstable; urgency=low
-
- * New upstream release: pre1.8 build.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Fri, 18 Jul 2003 14:08:55 +0200
-
-lilypond (1.6.5-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Mon, 7 Oct 2002 14:54:12 +0200
-
-lilypond (1.6.4-1) stable; urgency=low
-
- * New upstream release.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Fri, 20 Sep 2002 23:02:21 +0200
-
-lilypond (1.6.0-1) stable; urgency=low
-
- * New upstream release.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Mon, 19 Aug 2002 16:03:02 +0200
-
-lilypond (1.5.73-1) unstable; urgency=low
-
- * New upstream release.
- * Fix man pages for midi2ly and lilypond.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Wed, 14 Aug 2002 00:58:58 +0200
-
-lilypond (1.5.71.jcn2-1) unstable; urgency=low
-
- * lilypond-doc.hint (category): doc.
- * mknetnel: Also install pfa's.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Fri, 9 Aug 2002 18:28:27 +0200
-
-lilypond (1.5.71.jcn1-1) unstable; urgency=low
-
- * Python module now named midi.dll.
- * Fix detection of Cygwin build, which fixes installation of profile.d
- scripts.
- * Build fix.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Fri, 9 Aug 2002 17:47:41 +0200
-
-lilypond (1.5.68.jcn1-1) unstable; urgency=low
-
- * First full mknetrel build.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Thu, 18 Jul 2002 01:35:18 +0200
-
-lilypond (1.5.64.jcn1-1) unstable; urgency=low
-
- * Initial Release.
-
- -- Jan Nieuwenhuizen <janneke@gnu.org> Thu, 4 Jul 2002 12:54:08 +0200
-
-
+++ /dev/null
-#!@PYTHON@
-# lily-wins.py -- LilyPond command for .ly on Windows
-
-import getopt
-import os
-import re
-import sys
-import time
-
-do_debug = 0
-
-def usage ():
- print 'Usage [-h,--help] lily-wins LY-FILE'
-
-# print debugging stuff for now
-def debug (s):
- if do_debug:
- print s
-
-def read_pipe (command):
- debug ('command:' + command)
- s = os.popen (command).read ()
- if s and s[-1] == '\n':
- return s[:-1]
- return s
-
-def system (command):
- debug ('command:' + command)
- os.system (command)
-
-def strip_extension (f, ext):
- (p, e) = os.path.splitext (f)
- if e == ext:
- e = ''
- return p + e
-
-def escape_shell (x):
- return re.sub ("(\s|[`'\"\\\\])", r'\\\1',x)
-# return re.sub (r'''([^\\])([`'"\\\s])''', r'\1\\\2', x)
- # help emacs'" broken python mode
-
-def usage ():
- print '''lily-wins [options] file
-
-Options supported:
-
- -h, --help this help screen
- -d, --debug print debugging information
-
-'''
-
-debug (`sys.argv`)
-
-########
-# main
-(opts, files)=getopt.getopt (sys.argv[1:],'dh', ['help', 'debug'])
-
-for (o,a) in opts:
- if o == '-d' or o == '--debug':
- do_debug = 1
- elif o == '-h' or o == '--help':
- usage ()
- sys.exit (0)
-
-if files == []:
- usage ()
- sys.exit (1)
-
-native_file = files[0]
-print 'Processing %s ...' % native_file
-file = read_pipe ('/usr/bin/cygpath -au %s' % escape_shell (native_file))
-if not file:
- file = native_file
-
-cwd = os.getcwd ()
-
-dir = os.path.dirname (file)
-if not dir:
- dir = '.'
-base = os.path.basename (file)
-stem = strip_extension (base, '.ly')
-debug ( `vars ()`)
-
-native_base = '%(dir)s/%(stem)s' % vars ()
-native_base = read_pipe ('/usr/bin/cygpath -aw %s' % escape_shell (native_base))
-
-if not native_base:
- native_base = '%(dir)s/%(stem)s' % vars ()
-
-pdfname = read_pipe ('/usr/bin/regtool get /root/.pdf/')
-pdfopencommand = read_pipe ('/usr/bin/regtool get /root/%s/shell/open/command/' % escape_shell (pdfname))
-
-# hmm
-native_view = re.sub ('"([^"]*).*"', '\\1', pdfopencommand)
-if not native_view:
- native_view = 'acrobat'
-
-if native_view:
- pdfview = read_pipe ('/usr/bin/cygpath -au %s' % escape_shell (native_view))
-if not pdfview:
- # message box?
- sys.stderr.write ('no pdf viewer found\n')
- pdfview = 'xpdf'
-
-os.chdir (dir)
-pdffile = '%(stem)s.pdf' % vars ()
-if os.path.exists (pdffile):
- os.unlink (pdffile)
-
-
-script = '/usr/bin/lilypond'
-
-if os.path.exists ('/usr/bin/ly2dvi'):
- script = '/usr/bin/ly2dvi'
-
-stat = system ('%s %s > %s.lylog 2>&1' % (script, escape_shell (base),
- escape_shell (stem)))
-
-if not os.path.exists (pdffile):
- # message box?
- sys.stderr.write ('PDF output not found. Error log: \n')
-
- map (sys.stderr.write, open (stem + '.lylog').readlines ()[-20:])
- sys.stderr.write ('A full log is in the file %s.lylog\n' % stem)
- sys.stderr.write ('\n\nPress enter to close window\n')
- sys.stdin.readline ()
-else:
-
- # run even if failed, to make sure that error is visible.
- system ('%s %s.pdf' % (escape_shell (pdfview), escape_shell (native_base)))
+++ /dev/null
-sdesc: "LilyPond documentation."
-category: Doc
-ldesc: "LilyPond Documentation in INFO, HTML, PS, PDF and DVI formats.
-This package contains the HTML, INFO, PostScript PDF and DVI
-documentation for the LilyPond music typesetting software. Man pages
-are in the lilypond package."
+++ /dev/null
-sdesc: "A program for printing sheet music"
-category: Publishing
-requires: bash coreutils cygwin findutils ghostscript glib2-runtime libfontconfig1 libfreetype26 libguile12 libiconv2 libintl3 pango-runtime python _update-info-dir
-#suggests: emacs gsview libkpathsea4 lilypond-doc tetex-bin tetex-tiny rxvt xorg-x11-base
-ldesc: "A program for printing sheet music.
-LilyPond lets you create music notation. It produces
-beautiful sheet music from a high-level description file."
+++ /dev/null
-# -*- shell-script -*-
-
-sub_packages="doc"
-
-[ "$cygwin" == "mingw" ] && sub_packages="doc extra"
-
-depends="libfontconfig1 libfreetype6 libguile16 libintl3 libpango1"
-build_depends="mingw-devel gettext-devel guile-devel pango-devel"
-
-v=$(expr "$ver" : "\(.*\)-[0-9]*")
-
-save_PATH="$PATH"
-
-# copy and include extra mknetrel stuff
-. $src/$cygwin/mknetrel.extras || . $mknetrel/extras
-
-doc () {
- # doc works, but take too long to build each time
- [ "$cygwin" == "mingw" ] && return 1
- return 0
-}
-
-preconfig () {
- extras_preconfig
-
- [ "$cygwin" == "mingw" ] && if grep 'PYTHON_DEVEL(REQUIRED)' $src/configure.in; then
- sed -i~ -e 's/PYTHON_DEVEL(REQUIRED)/PYTHON_DEVEL(OPTIONAL)/' \
- $src/configure.in
- fi
- [ "$cygwin" == "mingw" ] && cd $src && ./autogen.sh --noconfigure
-
- cd $build || exit 1
- # cross-compiling: configure for build-host
- if ! iscygwin; then
- rm -f config.cache
- export HOST_CC=${HOST_CC:-gcc}
- export HOST_CXX=${HOST_CXX:-g++}
- export HOST_PKG_CONFIG=${HOST_PKG_CONFIG:-pkg-config}
- export HOST_PKG_CONFIG_PATH=${HOST_PKG_CONFIG_PATH:-}
- export HOST_FREETYPE_CONFIG=${HOST_FREETYPE_CONFIG:-freetype-config}
- (PATH="$build:$save_PATH" \
- CFLAGS="-O2 -g" \
- CPPFLAGS="" \
- CC=$HOST_CC \
- CXX=$HOST_CXX \
- LDFLAGS="" \
- PKG_CONFIG=$HOST_PKG_CONFIG \
- PKG_CONFIG_PATH=$HOST_PKG_CONFIG_PATH \
- FREETYPE_CONFIG=$HOST_FREETYPE_CONFIG \
- $src/configure --prefix=$prefix --enable-config=for-build)
- fi
-
- GUILE=$(GUILE_LOAD_PATH=$cygwin_prefix/share/guile/* $cygwin_prefix/bin/guile-config --version 2>&1 | awk '{print $NF}')
- cat > $target-guile-config <<EOF
-[ "\$1" == "--version" ] && echo "$target-guile-config - Guile version $GUILE"
-[ "\$1" == "compile" ] && echo "-I$cygwin_prefix/include"
-[ "\$1" == "link" ] && echo "-L$cygwin_prefix/lib -lguile -lgmp"
-exit 0
-EOF
- chmod 755 $target-guile-config
- export PATH=.:$PATH
- build_cxx="$build_cxx -I$(pwd)"
- if [ "$cygwin" == "mingw" ]; then
- CONFIGOPTS="--without-kpathsea $CONFIGOPTS"
- #CPPFLAGS="-DARGV0_RELOCATION=1 $CPPFLAGS"
- CONFIGOPTS="--enable-relocation $CONFIGOPTS"
- # There's a problem with inlining the string utils.
- # The -O2 flag is still passed by default through opt.
- CONFIGOPTS="--disable-optimising $CONFIGOPTS"
- ## debugging
- ##opt='-g'
- fi
-
- if [ "$cygwin" == "mingw" ]; then
- cp /usr/include/FlexLexer.h .
- mkdir python2.3
- cp /usr/include/python2.3/Python.h python2.3
-
- CXX="$(echo $build_cxx | sed 's/ -mwindows//')" \
- CXX_FOR_TARGET="${build_cxx}" \
- CC="${build_cc}" \
- CC_FOR_TARGET="${build_cc}" \
- GCC_FOR_TARGET="${build_cc}" \
- RANLIB="${build_ranlib}" \
- RANLIB_FOR_TARGET="${build_ranlib}" \
- DLLWRAP="${build_dllwrap}" \
- AR="${build_ar}" NM="${build_nm}" \
- LD=$(${build_cc} -print-prog-name=ld) \
- $src/configure --enable-config=console $CONFIGOPTS
-
- rm -f config.cache
- iscygwin || crosscache
- fi
-
- :
-}
-
-prebuild () {
- extras_prebuild
-
- # shortcircuit python for mingw
- if [ "$cygwin" == "mingw" ]; then
- #sed -e s/-mwindows// < config.make > config-console.make
- #cp config.hh config-console.hh
-
- mkdir -p python/out python/out-console
- touch python/out/midi.lo python/out/midi.so python/out/midi.dll
- touch python/out-console/midi.lo python/out-console/midi.so python/out-console/midi.dll
- fi
-
- # cross-compiling: build for build-host, generate doc
- if ! iscygwin; then
- cd $build || exit 1
-
- if doc; then
- args="all doc web"
- else
- args="all"
- fi
- (PATH="$build:$save_PATH" \
- CFLAGS="-O2 -g" \
- CPPFLAGS="" \
- CC=$HOST_CC \
- CXX=$HOST_CXX \
- LDFLAGS="" \
- eval make conf=for-build $args) || exit 1
-
- # fake mf and texi
- mkdir -p mf/out
- cp -pv mf/out-for-build/* mf/out
- mkdir -p Documentation/user/out
- cp -pv Documentation/user/out-for-build/*{tely,texi} Documentation/user/out
- fi
-
- if [ "$cygwin" == "mingw" ]; then
- # fake mf and texi
- mkdir -p mf/out-console
- cp -pv mf/out-for-build/* mf/out-console
- mkdir -p Documentation/user/out-console
- cp -pv Documentation/user/out-for-build/*{tely,texi} Documentation/user/out-console
- # fake manual pages, only works without --enable-config
- mkdir -p scripts/out-console
- cp scripts/out-for-build/*.1 scripts/out-console
- mkdir -p lily/out-console
- cp lily/out-for-build/*.1 lily/out-console
- make conf=console || exit 1
- fi
-
- addmakeflags "target=$target" ' '
- if [ -f "$cygwin_prefix/bin/libpython2.4.dll" ]; then
- addmakeflags LDFLAGS="$cygwin_prefix/bin/libpython2.4.dll" ' '
- fi
-
- if iscygwin && doc; then
- addmakeflags all ' ' doc ' ' web ' '
- fi
-}
-
-preinstall () {
- extras_preinstall
- if iscygwin && doc; then
- addmakeflags webdir="$inst-doc/$packagedocdir" ' ' web-install
- fi
-}
-
-postinstall () {
- if [ "$cygwin" == "mingw" ]; then
- cp $inst/usr/share/lilypond/$v/python/* $inst/usr/bin
- install -m755 $build/lily/out/lilypond $inst/usr/bin/lilypond-windows
- install -m755 $build/lily/out-console/lilypond $inst/usr/bin/
- fi
-
- extras_postinstall
-
- if [ "$cygwin" == "mingw" ]; then
- for i in $inst/usr/bin/*; do
- m=$(file -b $i)
- if echo "$m" | grep "guile"; then
- mv $i $i.scm
- elif echo "$m" | grep "python"; then
- mv $i $i.py
- fi
- done
- fi
-
- cd $build || exit 1
- if ! iscygwin && doc; then
- make conf=for-build webdir=$inst-doc/$packagedocdir web-install
- fi
-
- # txt files reside elsewhere
- cd $build/Documentation/topdocs/out
- install -m644 AUTHORS.txt INSTALL.txt NEWS.txt README.txt $inst/$packagedocdir
- ## copy examples
- cd $src || exit 1
- cp -prv input $inst/$packagedocdir
- rm -rf $(find $inst/$packagedocdir -name 'CVS')
- rm -f $(find $inst/$packagedocdir -name 'SCons*')
- rm -f $(find $inst/$packagedocdir -name 'GNUmakefile*')
-
- rm -rf $(find $inst/usr/share/lilypond -name '*.pyc')
- rm -f $inst/usr/share/lilypond/$v/tex/texinfo.tex
-
- if [ "$cygwin" == "mingw" ]; then
- find $inst -name '*ly' | xargs unix2dos
- fi
-
- install -d -m755 $inst-doc/$infodir/lilypond
- if doc; then
- cd $inst-doc/$infodir/lilypond && ln -sf ../../doc/$base-$ver/Documentation/user/out-www/*png .
- fi
-}
-
-doc_split () {
- extras_doc_split
- mkdir -p ./$packagedocdir/input
- mv $inst/$packagedocdir/input/{no-notation,regression,test,tutorial} ./$packagedocdir/input
- mkdir -p ./$prefix/share/lilypond/$v/fonts
- mv $inst/$prefix/share/lilypond/$v/fonts/source ./$prefix/share/lilypond/$v/fonts
-}
-
-extra_name () {
- echo lilypond-extra
-}
-
-extra_split () {
- # should be in devel...
- mkdir -p ./$prefix/share/lilypond/$v
- for i in make python tex vim; do
- #for i in make tex vim; do
- mv $inst/$prefix/share/lilypond/$v/$i ./$prefix/share/lilypond/$v
- done
- mkdir -p ./$prefix/share/lilypond/$v/fonts
- for i in source svg tfm; do
- mv $inst/$prefix/share/lilypond/$v/fonts/$i ./$prefix/share/lilypond/$v/fonts
- done
-
- mkdir -p ./$prefix/share
- for i in locale omf; do
- mv $inst/$prefix/share/$i ./$prefix/share
- done
-}
+++ /dev/null
-# -*- shell-script -*-
-
-#
-# mknetrel.split -- autotools
-#
-
-autoupdate () {
- if [ "$base" != "libtool" ]; then
- if [ -d libltdl ]; then
- rm -rf libltdl
- libtoolize --force --copy --automake --ltdl
- else
- libtoolize --force --copy --automake
- fi
- fi
-
- chmod +x ./bootstrap ./autogen.sh || :
- if [ -x ./bootstrap ]; then
- ./bootstrap --noconfigure
- elif [ -x ./autogen.sh ]; then
- ./autogen.sh --noconfigure
- else
- aclocal
- autoheader
- autoconf
- automake --add-missing
- fi
- sed -i~ -e 's/ x$PKG_CONFIG / "$x$PKG_CONFIG" /' $src/configure
-}
+++ /dev/null
-# -*- shell-script -*-
-
-#
-# mknetrel.cross -- set cross.cache for configure
-#
-
-# for cross-compiling
-if ! iscygwin; then
- uploads=$here/uploads/$base && mkdir -p $uploads/
- tarstem=$uploads/$package
-fi
-
-crosscache () {
- cat <<EOF > config.cache
-ac_cv_c_bigendian=\${ac_cv_c_bigendian=no}
-ac_cv_c_long_size_t=\${ac_cv_c_long_size_t=no}
-ac_cv_c_long_time_t=\${ac_cv_c_long_time_t=yes}
-ac_cv_sizeof___int64=\${ac_cv_sizeof___int64=0}
-ac_cv_sizeof_char=\${ac_cv_sizeof_char=1}
-ac_cv_sizeof_char_p=\${ac_cv_sizeof_char_p=4}
-ac_cv_sizeof_double=\${ac_cv_sizeof_double=8}
-ac_cv_sizeof_float=\${ac_cv_sizeof_float=4}
-ac_cv_sizeof_int=\${ac_cv_sizeof_int=4}
-ac_cv_sizeof_intmax_t=\${ac_cv_sizeof_intmax_t=8}
-ac_cv_sizeof_intptr_t=\${ac_cv_sizeof_intptr_t=4}
-ac_cv_sizeof_long=\${ac_cv_sizeof_long=4}
-ac_cv_sizeof_long_double=\${ac_cv_sizeof_long_double=12}
-ac_cv_sizeof_long_long=\${ac_cv_sizeof_long_long=8}
-ac_cv_sizeof_ptrdiff_t=\${ac_cv_sizeof_ptrdiff_t=4}
-ac_cv_sizeof_short=\${ac_cv_sizeof_short=2}
-ac_cv_sizeof_size_t=\${ac_cv_sizeof_size_t=4}
-ac_cv_sizeof_uintptr_t=\${ac_cv_sizeof_uintptr_t=4}
-ac_cv_sizeof_unsigned___int64=\${ac_cv_sizeof_unsigned___int64=0}
-ac_cv_sizeof_unsigned_char=\${ac_cv_sizeof_unsigned_char=1}
-ac_cv_sizeof_unsigned_int=\${ac_cv_sizeof_unsigned_int=4}
-ac_cv_sizeof_unsigned_long=\${ac_cv_sizeof_unsigned_long=4}
-ac_cv_sizeof_unsigned_long_long=\${ac_cv_sizeof_unsigned_long_long=8}
-ac_cv_sizeof_unsigned_short=\${ac_cv_sizeof_unsigned_short=2}
-ac_cv_sizeof_void_p=\${ac_cv_sizeof_void_p=4}
-ac_16bit_type=\${ac_16bit_type=short}
-ac_32bit_type=\${ac_32bit_type=int}
-ac_64bit_type=\${ac_64bit_type=none}
-ac_cv_sys_restartable_syscalls=\${ac_cv_sys_restartable_syscalls=yes}
-ac_cv_sprintf_count=\${ac_cv_sprintf_count=yes}
-ac_cv_spinlocks=\${ac_cv_spinlocks=no}
-ac_cv_func_getpgrp_void=\${ac_cv_func_getpgrp_void=yes}
-ac_cv_func_setvbuf_reversed=\${ac_cv_func_setvbuf_reversed=no}
-ac_cv_func_mkfifo=yes
-# but in mingw only if winsock2.h
-ac_cv_func_select=\${ac_cv_func_select=yes}
-ac_cv_search_dlopen=\${ac_cv_search_dlopen="none required"}
-ac_exeext=\${ac_exeext=}
-ac_cv_exeext=\${ac_cv_exeext=}
-
-# libtool searches not only in the cross libpath
-# /cygwin/usr/lib:/cygwin/usr/lib/w32api:/usr/i686-cygwin/lib
-# but also in /usr/lib. there it finds libdl.a and adds -ldl
-# to LIBS
-# it seems that libtool is broken wrt cross compilation:
-# sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
-lt_cv_dlopen=\${lt_cv_dlopen="dlopen"}
-lt_cv_dlopen_libs=\${lt_cv_dlopen_libs="none required"}
-## trying to get .la's in /usr/lib, will this work? -- jcn
-##libltdl_cv_sys_search_path=\${libltdl_cv_sys_search_path="'"/lib /usr/lib"'"}
-##libltdl_cv_sys_search_path=\${libltdl_cv_sys_search_path="'"$cygwin_prefix/lib"'"}
-libltdl_cv_sys_search_path=\${libltdl_cv_sys_search_path="'"$cygwin_prefix/lib"'"}
-lt_cv_sys_max_cmd_len=\${lt_cv_sys_max_cmd_len=8192}
-##ac_cv_header_strings_h=\${ac_cv_header_strings_h=yes}
-ac_cv_lib_dld_shl_load=\${ac_cv_lib_dld_shl_load=no}
-ac_cv_lib_dl_dlopen=\${ac_cv_lib_dl_dlopen=no}
-ac_cv_c_stack_direction=\${ac_cv_c_stack_direction=-1}
-EOF
-}
-
-needdevoflags () {
- return 1
-}
-
-extras_preconfig () {
- cd $src || exit 1
- patchsrc
- if [ ! -x ./configure ]; then
- autoupdate
- fi
- for i in $(find $src -name configure | xargs grep -l PKG_CONFIG); do
- sed -i~ -e 's/ x$PKG_CONFIG / "$x$PKG_CONFIG" /' $i
- done
- cd $build || exit 1
- CONFIGOPTS="--config-cache --enable-shared --disable-static $CONFIGOPTS"
- ##[ "$cygwin" == "mingw" ] && CONFIGOPTS="'LDFLAGS=-mwindows -mms-bitfields' $CONFIGOPTS"
- iscygwin || crosscache
-}
-
-preconfig () {
- extras_preconfig
-}
-
-extras_postconfig () {
- fix_libtool_script
-}
-
-postconfig () {
- extras_postconfig
-}
+++ /dev/null
-# -*- shell-script -*-
-
-#
-# mknetrel.doc -- fixup doc
-#
-
-docprefix=$prefix/share
-docdir=$docprefix/doc
-
-cygdocdir=$docdir/$Cygwin
-infodir=$docprefix/info
-mandir=$docprefix/man
-packagedocdir=$docdir/$base
-
-fixdoc () {
- #
- cd $inst || exit 1
- mkdir -p $inst/$docprefix
- for i in info man doc; do
- #if [ -d $inst/$docprefix/$i ]; then
- if [ -d $inst/$prefix/$i ]; then
- cd $inst/$prefix
- tar -cf - $i | tar -C $inst/$docprefix -xf -
- rm -rf $inst/$prefix/$i
- fi
- done
- if [ -f $inst/$docprefix/$base ]; then
- mkdir -p $packagedocdir
- tar -C $inst/$docprefix/$base -cf - . | tar -C $inst/$packagedocdir -xf -
- fi
- for i in $inst/$docprefix/info/*.info \
- $inst/$docprefix/info/*.info-[0-9] \
- $inst/$docprefix/info/*.info-[0-9][0-9]; do
- gzip $i
- done
- true
-}
+++ /dev/null
-# -*- shell-script -*-
-
-# copy and include extra mknetrel stuff
-extras=${extras-"auto cross doc libtool patch split"}
-[ ! -d $src/$cygwin ] && mkdir -p $src/$cygwin
-i=extras
-cp -pv $mknetrel/$i $src/$cygwin/mknetrel.$i
-for i in $extras; do
- [ -r $mknetrel/$i ] && cp -pv $mknetrel/$i $src/$cygwin/mknetrel.$i
- . $src/$cygwin/mknetrel.$i
-done
-cp -pv $extra/$base $src/$cygwin/mknetrel
+++ /dev/null
-# -*- shell-script -*-
-# mknetrel.libtool -- libtool fixups
-
-fix_libtool_dltool () {
- sed -i~ \
- -e "s/^DLLTOOL=.*/DLLTOOL='$target-dlltool'/" \
- -e "s/^DLLTOOL=/HOST_CC=gcc\nDLLTOOL=/" \
- -e "s/^HOST_CC=/SED=sed\nHOST_CC=/" \
- -e "s/^allow_undefined_flag=.*/allow_undefined_flag=/" \
- $1
-## -e "s@^sys_lib_dlsearch_path_spec=.*@sys_lib_dlsearch_path_spec='$cygwin_prefix/lib'@"
-}
-
-fix_libtool_dlopen_undefined () {
- for i in $(find $build -name libtool); do
- sed -i~ -e 's/\(allow_undefined_flag=.*\)unsupported/\1/' $i
- done
-}
-
-fix_libtool_script () {
- [ $base != "libtool" ] || return 0
- for i in $mknetrel_root/bin/$target-libtool \
- $cygwin_prefix/bin/$target-libtool; do
- [ -x "$i" ] && fixtool=$i
- done
- for i in $(find $build -name libtool); do
- [ -n "$fixtool" ] || exit 1
- cp --backup $fixtool $i
- done
-}
-
-fix_libtool_la () {
- # fix libtool's .la dependency_libs output for dlopen
- for i in $inst/lib $inst/$prefix/lib; do
- if [ -d "$i" ]; then
- cd $i || exit 1
- for j in $(ls -1 *.la); do
- sed -i~ \
- -e 's/ *-L *[^"'"'"' ][^"'"'"' ]*//g'\
- -e "s@\( \|=\|'\)\(/[^ ]*usr/lib/lib\)\([^ ']*\)\.\(a\|la\|so\)[^ ']*@\1-l\3@g"\
- $j
-## -e "s@\( \|=\|'\)\(cyg\)\([^ ']*\)\(\.dll.a\|.a\)[^ ']*@\1lib\3\4@g"\
-## -e "s@\( \|=\|'\)\(/usr/lib/lib\)\([^ ']*\)\.\(a\|la\|so\)[^ ']*@\1-l\3@g"\
-## -e "s@\( \|=\|'\)\(/usr/lib/lib\)\([^.]*\)\.\(a\|la\|so\)[^ ']*@\1-l\3@g"\
-## -e "s@\( \|=\|'\)\(/usr/lib/lib\)\([^.]*\)[^ ']*@\1-l\3@g"\
-## -e "s@\( \|=\|'\)\(/usr/lib/\)\(lib\)@\1\3@g"\
-## -e "s@\( \|=\)\(/usr/lib/lib\)@\1$cygwin_root\2@g"\
-## -e "s@\( \|=\)\(/usr/lib/lib\)@\1$cygwin_root\2@g"\
-## -e "s@\( \|=\)\(/usr/lib/lib\)\([^ ]*\)[.]\(a\|dll\|la\|so[^ ]*\)@-l\2@g"\
- done
- fi
- done
-
- # fix some libtool's .dll name
- mv $inst/$prefix/lib/$dll_prefix$base-$sover $inst/$prefix/bin/$dll_prefix$base-$sover.dll
-
- # more libtool fixups. I love libtool.
- sed -i~ \
- -e "s@^dlname=.*@dlname='../bin/$dll_prefix$base-$sover.dll'@" \
- -e "s@^library_names=.*@library_names='lib$base.dll.a'@" \
- -e "s@^old_library=.*@old_library='lib$base.a'@" \
- $inst/$prefix/lib/lib$base.la
-## -e "s@^library_names=.*@library_names='$dll_prefix$base.dll.a'@" \
-## -e "s@^old_library=.*@old_library='$dll_prefix$base.a'@" \
-}
+++ /dev/null
-# -*- shell-script -*-
-
-#
-# mknetrel.patch -- patch sources
-#
-
-dopatch () {
- cd $src
- patch -Np1 < $patch/$package.patch
- cp -p $patch/$package.patch $src/$cygwin/
-}
-
-dodiff () {
- [ -r $cygwin/.cvsignore ] || cat > $cygwin/.cvsignore <<EOF
-#*
-*.orig
-*.rej
-*~
-.#*
-.bash_mknetrel
-*.patch
-CYGWIN-PATCHES
-MINGW-PATCHES
-Makefile
-GNUmakefile
-Makefile.in
-aclocal.m4
-autom4te.cache
-config.guess
-config.sub
-configure
-libltdl
-ltmain.sh
-CVS
-*[0-9].patch
-EOF
- diff -purNX$cygwin/.cvsignore $netrel_root/src/$upstream . > $patch/$package.patch-
- if [ -s $patch/$package.patch- ]; then
- cp --backup -pv $patch/$package.patch- $patch/$package.patch
- cp --backup -pv $patch/$package.patch- $src/$cygwin/$package.patch
- fi
- rm $patch/$package.patch-
-}
-
-patchsrc () {
- [ -r $patch/$package.patch -a ! -r $src/$cygwin/$package.patch ] && dopatch
- cd $src
- upstream=$(expr "$package" : '\(.*-[-.0-9]*.*\)-[0-9]*')
- [ -r $netrel_root/src/$upstream -a -r $patch/$package.patch -a $src/$cygwin/mknetrel -nt $patch/$package.patch ] && dodiff
-}
+++ /dev/null
-# -*- shell-script -*-
-# mknetrel.split -- split subpackages
-
-extras_preinstall () {
- :;
-}
-
-extras_presplit () {
- :;
-}
-
-presplit () {
- :;
-}
-
-devel_name () {
- if ! libdev 2> /dev/null ; then
- echo $base-devel
- else
- if expr "$base" : "\(lib\)" > /dev/null 2>&1; then
- echo $base-dev
- else
- echo lib$base-dev
- fi
- fi
-}
-
-doc_name () {
- echo $base-doc
-}
-
-lib_name () {
- if expr "$base" : "\(lib\)" > /dev/null 2>&1; then
- echo $base$sover
- else
- echo lib$base$sover
- fi
-}
-
-extras_lib_split () {
- mkdir -p ./$prefix/bin || exit 1
- mv $inst/$prefix/bin/*.dll ./$prefix/bin
- # better move dlls to bin, see gmp
- mkdir -p ./$prefix/lib || exit 1
- mv $inst/$prefix/lib/*.dll ./$prefix/lib
- mkdir -p ./$prefix/lib || exit 1
- mv $inst/$prefix/lib/lib*.la ./$prefix/lib
- mkdir -p ./$prefix/share || exit 1
- mv $inst/$prefix/share/$base ./$prefix/share
- rmdir $inst/$prefix/bin || true
- rmdir $inst/$prefix/lib || true
- rmdir $inst/$prefix/share || true
- true
-}
-
-extras_devel_split () {
- mkdir -p ./$prefix/bin || exit 1
- mv $inst/bin/*-config ./$prefix/bin
- tar -C $inst -cf - ./$prefix/include | tar -xf -
- rm -rf $inst/$prefix/include
- # Only static .a libs in devel, load time .la files go in LIB or
- # BIN package.
- mkdir -p ./$prefix/lib || exit 1
- mv $inst/$prefix/lib/*.a ./$prefix/lib
- mv $inst/$prefix/lib/pkgconfig ./$prefix/lib
- mkdir -p ./$prefix/share || exit 1
- tar -C $inst -cf - ./$prefix/share/aclocal | tar -xf -
- rm -rf $inst/$prefix/share/aclocal
- tar -C $inst -cf - ./$prefix/share/libtool | tar -xf -
- rm -rf $inst/$prefix/share/libtool
- rmdir $inst/$prefix/lib || true
- rmdir $inst/$prefix/share || true
- true
-}
-
-extras_doc_split () {
- mkdir -p ./$docprefix || exit 1
- mkdir -p ./$infodir || exit 1
- tar -C $inst -cf - ./$infodir | tar -xf -
- rm -rf $inst/$infodir
- if [ "$cygwin" == "mingw" ]; then
- mkdir -p ./$mandir || exit 1
- tar -C $inst -cf - ./$mandir | tar -xf -
- rm -rf $inst/$mandir
- fi
- true
-}
-
-extras_prebuild () {
- for i in $sub_packages; do
- rm -rf $inst-$i
- mkdir -p $inst-$i || exit 1
- done
-}
-
-extras_postinstall () {
- fixdoc
- fix_libtool_la
-
- mkdir -p $inst-doc/$docprefix
- cd $build || exit 1
-
- cd $src || exit 1
- install -d -m755 $inst/$packagedocdir
-
- readmes="$(find . -maxdepth 1 -type f -a -name '[A-Z]*' | egrep -v 'Makefile|GNUmakefile')"
- install -m644 $readmes $inst/$packagedocdir
- install -m644 $cygwin/changelog $inst/$packagedocdir/changelog.$Cygwin
-
- ## Cygwin readmes
- cd $src || exit 1
- install -d -m755 $inst/$cygdocdir
-
- cd $src || exit 1
- install -m644 $cygwin/README $inst/$packagedocdir/README.$Cygwin
- install -m644 $cygwin/README $inst/$cygdocdir/$package.README
- cd $build || exit 1
- install -m644 $cygwin/out/README $inst/$packagedocdir/README.$Cygwin
- install -m644 $cygwin/out/README $inst/$cygdocdir/$package.README
-}
-
-auto_requires () {
- dlls=
- requires=
- dlls=$(find . -name '*dll' -o -name '*.exe' \
- | xargs $cygcheck 2>&1 | grep '^ [^ ]' \
- | tr -d '[ \r]' | sed 's@.*\\@@g' | sort -u)
- for x in $(ls -1 bin/* sbin/*); do
- case $x in
- *.exeXXX|*.dllXXX)
- dlls="$($cygcheck $x 2>&1 | grep '^ [^ ]' | tr -d '[ \r]' | sed 's@.*bin\\@@g') $dlls"
- ;;
- esac
- case "$(file -b $x)" in
- "*Bourne shell script*")
- requires="bash\n$requires"
- ;;
- "*guile*script*")
- requires="guile\n$requires"
- ;;
- "*perl*script*")
- requires="perl\n$requires"
- ;;
- "*python*script*")
- requires="python\n$requires"
- ;;
- esac
- done
- for x in $dlls; do
- requires="$(cyg-apt find $x | sed 's/:.*//')\n$requires"
- done
- requires=$(echo -e "$requires" | sort -u)
- echo $requires
-}
-
-hint () {
- if [ -r $shint ]; then
- cp $shint $hint
- else
- cat > $hint <<EOF
-sdesc: "$name"
-ldesc: "$name - no description (missing $package/$cygwin/$(basename $shint) file)"
-EOF
- fi
- grep ^requires: $hint || echo "requires: $depends" >> $hint
- if [ "$cygwin" == "cygwin" ]; then
- if grep ^build-requires: $hint; then
- mv $hint $hint~
- grep -v build-requires $hint~ > $hint
- fi
- if iscygwin; then
- cygcheck=cygcheck.exe
- else
- cygcheck="wine $cygwin_prefix/bin/cygcheck.exe"
- fi
- echo "#auto-requires: $(cd usr; auto_requires)" >> $hint
- else
- grep ^build-requires: $hint || echo "build-requires: $build_depends" >> $hint
- fi
-}
-
-domkdist () {
- #
- # Fix up installation slightly
- #
- cd $inst || exit 1
- chmod -R u+w,og-w,a+rX .
- cd usr 2>/dev/null && dousrstuff
-
- # Split off any sub-packages. The actual splitting is handled by
- # a package's specific code in extra/.
-
- # To package `foo' in foo, foo-doc and foo-devel, set
- # sub_packages='doc devel'.
-
- # Then provide functions doc_name and devel_name, that return the
- # full name of the sub-package. Also provide functions doc_split
- # and devel_split, that mv part of foo's installation in $inst to
- # the sub-packages' installation roots $inst-doc and $inst-devel.
-
- cd $inst || exit 1
- presplit
-
- for i in $sub_packages; do
- subname=$(${i}_name)
- cd $inst-$i || exit 1
- ${i}_split || exit 1
- done
-
- cd $inst || exit 1
- prepackage
-
- cd $inst || exit 1
- hard2soft
-
- #
- # Make tar balls
- #
-
- # The base package
- echo creating $tarstem.tar.bz2
- cd $inst || exit 1
-
- name=$base
- shint=$src/$cygwin/$name.hint
- hint=$uploads/setup.hint
- hint
- find * -print | egrep -v '\.cvsignore|\.bak$|\.orig$|\.o$|\.rej$|~$|^.#|CVS|/tags$' | sort | tar -T - --no-recursion --owner=0 --group=0 -cjf $tarstem.tar.bz2
-
- # Any sub-packages
- for i in $sub_packages; do
- subname=$(${i}_name)
- subload=$uploads/$subname
- subtarstem=$subload/$subname-$ver
- shint=$src/$cygwin/$subname.hint
- hint=$subload/setup.hint
- depends=$(eval echo '$'${i}_depends)
- mkdir -p $subload || exit 1
- echo creating $subtarstem.tar.bz2
- name=$subname
- cd $inst-$i
- hint
- grep ^external-source: $hint || echo "external-source: $base" >> $hint
- hard2soft
- find * -print | egrep -v '\.cvsignore|\.bak$|\.orig$|\.o$|\.rej$|~$|^.#|CVS|/tags$' | sort | tar -T - --no-recursion --owner=0 --group=0 -cjf $subtarstem.tar.bz2
- done
-
- # The source package
- cd $src/.. || exit 1
- echo creating "$tarstem"-src.tar.bz2
- ##find $package_src/* -print -follow | egrep -v '\.cvsignore|\.bak$|\.orig$|\.o$|~$|^.#|CVS|%redact|/tags$' | egrep -v "$src_exclude" | sort | tar -T - --no-recursion --owner=0 --group=0 -cjf "$tarstem"-src.tar.bz2
- find $package_src/* -print | egrep -v '\.cvsignore|\.bak$|\.orig$|\.o$|\.rej$|~$|^.#|CVS|%redact|/tags$|/TAGS$|autom4te.cache$' | egrep -v "$src_exclude" | sort | tar -T - --no-recursion --owner=0 --group=0 -cjf "$tarstem"-src.tar.bz2
- ##cd $package_src && tar -cj --exclude='\.cvsignore' --exclude='\.bak$' --exclude='\.orig$' --exclude='\.o$' --exclude='~$' --exclude='^.#' --exclude='CVS' --exclude='%redact' --exclude='/tags$' --exclude='/TAGS$' --exclude='autom4te.cache' --owner=0 --group=0 -f "$tarstem"-src.tar.bz2 .
- postpackage
-}
-
-devel_split () {
- extras_devel_split
-}
-
-doc_split () {
- extras_doc_split
-}
-
-lib_split () {
- extras_lib_split
-}
-
-prebuild () {
- extras_prebuild
-}
-
-postinstall () {
- extras_postinstall
-}
+++ /dev/null
-#!@SHELL@
-# /etc/postinstall/lilypond.sh -- Setup LilyPond
-
-# register .ly
-ROOT=$(cygpath -w /)
-[ -z "$ROOT" ] && ROOT=$(regtool get '/machine/Software/Cygnus Solutions/Cygwin/mounts v2/\\\//native')
-[ -z "$ROOT" ] && ROOT=$(cat '/proc/registry/HKEY_LOCAL_MACHINE/Software/Cygnus Solutions/Cygwin/mounts v2/\\\//native')
-[ -z "$ROOT" ] && ROOT='c:\cygwin'
-
-regtool add '/root/.ly'
-regtool set '/root/.ly/' 'LilyPond'
-regtool set '/root/.ly/Content Type' 'text/lilypond-source'
-regtool add '/root/LilyPond'
-regtool set '/root/LilyPond/' 'LilyPond source'
-regtool add '/root/LilyPond/shell'
-regtool add '/root/LilyPond/shell/open'
-regtool add '/root/LilyPond/shell/open/command'
-
-regtool set '/root/LilyPond/shell/open/command/' $ROOT'\bin\bash.exe --login -c '"'"'/usr/bin/lily-wins "%1"'"'"
-regtool add '/root/LilyPond/shell/edit'
-regtool set '/root/LilyPond/shell/edit/' '&Edit source in Notepad ...'
-regtool add '/root/LilyPond/shell/edit/command'
-regtool set '/root/LilyPond/shell/edit/command/' '%SystemRoot%\system32\notepad.exe %1'
-regtool add '/root/LilyPond/shell/generate'
-regtool set '/root/LilyPond/shell/generate/' '&Generate PDF ...'
-regtool add '/root/LilyPond/shell/generate/command'
-regtool set '/root/LilyPond/shell/generate/command/' $ROOT'\bin\bash.exe --login -c '"'"'/usr/bin/lily-wins "%1"'"'"
-
-# FIXME: move to new postinstall-lilypond-doc.sh
-[ -d /usr/share/info/lilypond ] && (cd /usr/share/info/lilypond && ln -sf ../../doc/lilypond/Documentation/user/out-www/*png .)
dos_to_posix (string file_name)
{
char buf[PATH_MAX] = "";
- char s[PATH_MAX];
+ char s[PATH_MAX] = {0};
file_name.copy (s, PATH_MAX - 1);
/* ugh: char const* argument gets modified. */
int fail = cygwin_conv_to_posix_path (s, buf);
--- /dev/null
+\header {
+ texidoc = "Horizontal brackets connect over line breaks."
+
+}
+\version "2.9.26"
+\paper { ragged-right = ##t }
+
+\new Voice \with {
+ \consists Horizontal_bracket_engraver }
+{
+ c1\startGroup \break c1 \stopGroup
+}
わがよたれぞ つねならむ
うゐのおくや まけふこえて
あさきゆめみじ ゑひもせず
- }
+}
% "a legal song to you"
portuguese = \lyricmode {
#include "stem.hh"
#include "stream-event.hh"
#include "text-interface.hh"
+#include "rhythmic-head.hh"
/*
Note_head::brew_ez_stencil (SCM smob)
{
Grob *me = unsmob_grob (smob);
- int log = Note_head::get_balltype (me);
+ int log = Rhythmic_head::duration_log (me);
SCM cause = me->get_property ("cause");
SCM spitch = unsmob_stream_event (cause)->get_property ("pitch");
{
Grob_info info = primitives[i];
Item *primitive = dynamic_cast<Item *> (info.grob ());
- int duration_log = Note_head::get_balltype (primitive);
+ int duration_log = Rhythmic_head::duration_log (primitive);
Stream_event *nr = info.event_cause ();
nd->get_property ("style")))
merge_possible = false;
- int upball_type = Note_head::get_balltype (nu);
- int dnball_type = Note_head::get_balltype (nd);
+ int upball_type = Rhythmic_head::duration_log (nu);
+ int dnball_type = Rhythmic_head::duration_log (nd);
/* Do not merge whole notes (or longer, like breve, longa, maxima). */
if (merge_possible && (upball_type <= 0 || dnball_type <= 0))
#include <cmath>
#include <cctype>
#include <algorithm> // min, max
+
using namespace std;
#include "directional-element-interface.hh"
-#include "dots.hh"
#include "font-interface.hh"
#include "international.hh"
-#include "lookup.hh"
-#include "misc.hh"
-#include "music.hh"
-#include "output-def.hh"
-#include "rhythmic-head.hh"
-#include "staff-symbol-referencer.hh"
-#include "staff-symbol.hh"
#include "warn.hh"
static Stencil
return ly_offset2scm (get_stem_attachment (fm, key));
}
-int
-Note_head::get_balltype (Grob *me)
-{
- SCM s = me->get_property ("duration-log");
- return scm_is_number (s) ? min (int (scm_to_int (s)), 2) : 0;
-}
ADD_INTERFACE (Note_head, "note-head-interface",
"Note head",
description.end_rods_.push_back (Rod_description (j, scm_to_double (scm_cdar (s))));
}
}
+
if (!line_starter && to_boolean (col->get_property ("keep-inside-line")))
description.keep_inside_line_ = col->extent (col, X_AXIS);
+
description.break_permission_ = col->get_property ("line-break-permission");
return description;
}
(Stem
. (
(direction . ,ly:stem::calc-direction)
- (duration-log . ,note-head::calc-duration-log)
+ (duration-log . ,stem::calc-duration-log)
(default-direction . ,ly:stem::calc-default-direction)
(stem-end-position . ,ly:stem::calc-stem-end-position)
(anti-alias-factor 1 "render at higher resolution and scale down result\nto prevent jaggies in PNG")
(check-internal-types #f "check every property assignment for types")
(clip-systems #f "Generate cut-out snippets of a score")
- (debug-gc #f
- "dump memory debugging statistics")
- (debug-gc-assert-parsed-dead #f
- "for memory debugging: ensure that all refs to parsed objects are dead.")
-
- (debug-parser #f "debug the bison parser")
+ (debug-gc #f "dump memory debugging statistics")
+ (debug-gc-assert-parsed-dead
+ #f "for memory debugging: ensure that all refs to parsed objects are dead.")
(debug-lexer #f "debug the flex lexer")
(debug-midi #f "generate human readable MIDI")
+ (debug-parser #f "debug the bison parser")
(delete-intermediate-files #f
"delete unusable PostScript files")
(dump-signatures #f "dump output signatures of each system")
(music-map apply-duration lyric-music))
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;
-
-;; FIXME: update to the new balloon interface
-(define-public ((add-balloon-text object-name text off) grob orig-context cur-context)
- "Usage: see input/regression/balloon.ly "
- (let* ((meta (ly:grob-property grob 'meta))
- (cb (ly:grob-property-data grob 'stencil))
- (nm (if (pair? meta) (cdr (assoc 'name meta)) "nonexistant")))
- (if (and (equal? nm object-name)
- (procedure? cb))
- (begin
- (ly:grob-set-property! grob 'stencil ly:balloon-interface::print)
- (set! (ly:grob-property grob 'original-stencil) cb)
- (set! (ly:grob-property grob 'balloon-text) text)
- (set! (ly:grob-property grob 'balloon-text-offset) off)
- (set! (ly:grob-property grob 'balloon-text-props) '((font-family . roman)))))))
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; accidentals
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; note heads
-(define-public (note-head::calc-duration-log grob)
+
+(define-public (stem::calc-duration-log grob)
(ly:duration-log
(ly:event-property (event-cause grob) 'duration)))
+(define-public (note-head::calc-duration-log grob)
+ (min 2
+ (ly:duration-log
+ (ly:event-property (event-cause grob) 'duration))))
+
(define-public (dots::calc-dot-count grob)
(ly:duration-dot-count
(ly:event-property (event-cause grob) 'duration)))