--- abcm2ps-4.5.0.orig/Makefile +++ abcm2ps-4.5.0/Makefile @@ -4,14 +4,14 @@ VERSION = 4.5.0 CC = gcc -INSTALL = /usr/bin//install -c +INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} CPPFLAGS = -g -O2 -Wall -pipe -DHAVE_CONFIG_H -I. LDFLAGS = -lm # -prefix = /usr/local +prefix = /usr exec_prefix = ${prefix} srcdir = . --- abcm2ps-4.5.0.orig/config.h +++ abcm2ps-4.5.0/config.h @@ -2,7 +2,7 @@ /* config.h.in */ /* default directory to search for format files */ -#define DEFAULT_FDIR "/usr/local/share/abcm2ps" +#define DEFAULT_FDIR "/usr/share/abcm2ps" /* Define if you have the strtol function. */ /* #undef HAVE_STRTOL */ --- abcm2ps-4.5.0.orig/config.guess +++ abcm2ps-4.5.0/config.guess @@ -1,8 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 -# Free Software Foundation, Inc. -# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + +timestamp='2004-03-12' + # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -22,146 +24,291 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -# Written by Per Bothner . -# Please send patches to . +# Originally written by Per Bothner . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you -# don't specify an explicit system type (host/target name). -# -# Only a few systems have been added to this list; please add others -# (but try to keep the structure clean). -# +# don't specify an explicit build system type. -# Use $HOST_CC if defined. $CC may point to a cross-compiler -if test x"$CC_FOR_BUILD" = x; then - if test x"$HOST_CC" != x; then - CC_FOR_BUILD="$HOST_CC" - else - if test x"$CC" != x; then - CC_FOR_BUILD="$CC" - else - CC_FOR_BUILD=cc - fi - fi +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 fi +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 8/24/94.) +# (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15 - # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) - # Netbsd (nbsd) targets should (where applicable) match one or + # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. - # Determine the machine/vendor (is the vendor relevant). - case "${UNAME_MACHINE}" in - amiga) machine=m68k-cbm ;; - arm32) machine=arm-unknown ;; - atari*) machine=m68k-atari ;; - sun3*) machine=m68k-sun ;; - mac68k) machine=m68k-apple ;; - macppc) machine=powerpc-apple ;; - hp3[0-9][05]) machine=m68k-hp ;; - ibmrt|romp-ibm) machine=romp-ibm ;; - *) machine=${UNAME_MACHINE}-unknown ;; + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; esac - # The Operating System including object format. - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit 0 ;; + amd64:OpenBSD:*:*) + echo x86_64-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + cats:OpenBSD:*:*) + echo arm-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + macppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvmeppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pegasos:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sgi:OpenBSD:*:*) + echo mipseb-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit 0 ;; + macppc:MirBSD:*:*) + echo powerppc-unknown-mirbsd${UNAME_RELEASE} + exit 0 ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit 0 ;; alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then + case $UNAME_RELEASE in + *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - cat <$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - esac - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit 0 ;; + Alpha*:OpenVMS:*:*) + echo alpha-hp-vms exit 0 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? @@ -173,39 +320,24 @@ echo alpha-dec-winnt3.5 exit 0 ;; Amiga*:UNIX_System_V:4.0:*) - echo m68k-cbm-sysv4 + echo m68k-unknown-sysv4 exit 0;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; - SR2?01:HI-UX/MPP:*:*) + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit 0;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) @@ -219,6 +351,13 @@ NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit 0 ;; + DRS?6000:UNIX_SV:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7 && exit 0 ;; + esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; @@ -247,7 +386,7 @@ echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) @@ -261,9 +400,6 @@ aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor @@ -290,17 +426,8 @@ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} @@ -318,6 +445,7 @@ echo clipper-intergraph-clix${UNAME_RELEASE} exit 0 ;; mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ @@ -339,12 +467,20 @@ exit (-1); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c \ + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ + && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit 0 ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit 0 ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; @@ -392,11 +528,20 @@ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i?86:AIX:*:*) + i*86:AIX:*:*) echo i386-ibm-aix exit 0 ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit 0 ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include @@ -408,8 +553,7 @@ exit(0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 @@ -417,9 +561,9 @@ echo rs6000-ibm-aix3.2 fi exit 0 ;; - *:AIX:*:4) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` - if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then + *:AIX:*:[45]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc @@ -427,7 +571,7 @@ if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else - IBM_REV=4.${UNAME_RELEASE} + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit 0 ;; @@ -453,11 +597,28 @@ echo m68k-hp-bsd4.4 exit 0 ;; 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) - sed 's/^ //' << EOF >$dummy.c + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include @@ -490,13 +651,29 @@ exit (0); } EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - rm -f $dummy.c $dummy + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; esac - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + if [ ${HP_ARCH} = "hppa2.0w" ] + then + # avoid double evaluation of $set_cc_for_build + test -n "$CC_FOR_BUILD" || eval $set_cc_for_build + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit 0 ;; 3050*:HI-UX:*:*) + eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int @@ -522,8 +699,7 @@ exit (0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) @@ -532,7 +708,7 @@ 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit 0 ;; - *9??*:MPE/iX:*:*) + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit 0 ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) @@ -541,7 +717,7 @@ hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit 0 ;; - i?86:OSF1:*:*) + i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else @@ -551,9 +727,6 @@ parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit 0 ;; - hppa*:OpenBSD:*:*) - echo hppa-unknown-openbsd - exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit 0 ;; @@ -572,41 +745,39 @@ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*T3E:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; - F300:UNIX_System_V:*:*) + *:UNICOS/mp:*:*) + echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; - F301:UNIX_System_V:*:*) - echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; - i?86:BSD/386:*:* | i?86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; sparc*:BSD/OS:*:*) @@ -616,10 +787,21 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Determine whether the default compiler uses glibc. + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #if __GLIBC__ >= 2 + LIBC=gnu + #else + LIBC= + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + # GNU/KFreeBSD systems have a "k" prefix to indicate we are using + # FreeBSD's kernel, but not the complete OS. + case ${LIBC} in gnu) kernel_only='k' ;; esac + echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -627,11 +809,20 @@ i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit 0 ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit 0 ;; + x86:Interix*:[34]*) + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' + exit 0 ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? - echo i386-pc-interix + echo i586-pc-interix exit 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin @@ -643,221 +834,178 @@ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) + # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; - *:Linux:*:*) - + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit 0 ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit 0 ;; + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit 0 ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + mips:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + ;; + mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips64 + #undef mips64el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mips64el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips64 + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit 0 ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit 0 ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit 0 ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit 0 ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit 0 ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit 0 ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit 0 ;; + i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. - ld_help_string=`cd /; ld --help 2>&1` - ld_supported_emulations=`echo $ld_help_string \ - | sed -ne '/supported emulations:/!d + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ + | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g - s/.*supported emulations: *// + s/.*supported targets: *// s/ .*// p'` - case "$ld_supported_emulations" in - *ia64) - echo "${UNAME_MACHINE}-unknown-linux" - exit 0 + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; - i?86linux) + a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 - ;; - elf_i?86) - echo "${UNAME_MACHINE}-pc-linux" - exit 0 - ;; - i?86coff) + exit 0 ;; + coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 - ;; - sparclinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - armlinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - elf32arm*) - echo "${UNAME_MACHINE}-unknown-linux-gnuoldld" - exit 0 - ;; - armelf_linux*) - echo "${UNAME_MACHINE}-unknown-linux-gnu" - exit 0 - ;; - m68klinux) - echo "${UNAME_MACHINE}-unknown-linux-gnuaout" - exit 0 - ;; - elf32ppc | elf32ppclinux) - # Determine Lib Version - cat >$dummy.c < -#if defined(__GLIBC__) -extern char __libc_version[]; -extern char __libc_release[]; -#endif -main(argc, argv) - int argc; - char *argv[]; -{ -#if defined(__GLIBC__) - printf("%s %s\n", __libc_version, __libc_release); -#else - printf("unkown\n"); -#endif - return 0; -} -EOF - LIBC="" - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null - if test "$?" = 0 ; then - ./$dummy | grep 1\.99 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.c $dummy - echo powerpc-unknown-linux-gnu${LIBC} - exit 0 - ;; + exit 0 ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit 0 ;; esac - - if test "${UNAME_MACHINE}" = "alpha" ; then - cat <$dummy.s - .data - \$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main - main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - LIBC="" - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - esac - - objdump --private-headers $dummy | \ - grep ld.so.1 > /dev/null - if test "$?" = 0 ; then - LIBC="libc1" - fi - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 - elif test "${UNAME_MACHINE}" = "mips" ; then - cat >$dummy.c < /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __MIPSEB__ - printf ("%s-unknown-linux-gnu\n", argv[1]); -#endif -#ifdef __MIPSEL__ - printf ("%sel-unknown-linux-gnu\n", argv[1]); -#endif - return 0; -} -EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - elif test "${UNAME_MACHINE}" = "s390"; then - echo s390-ibm-linux && exit 0 - else - # Either a pre-BFD a.out linker (linux-gnuoldld) - # or one that does not give us useful --help. - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. - # If ld does not provide *any* "supported emulations:" - # that means it is gnuoldld. - echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:" - test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 - - case "${UNAME_MACHINE}" in - i?86) - VENDOR=pc; - ;; - *) - VENDOR=unknown; - ;; - esac - # Determine whether the default compiler is a.out or elf - cat >$dummy.c < -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); -#endif - return 0; -} + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #ifdef __INTEL_COMPILER + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy - fi ;; -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions -# are messed up and put the nodename in both sysname and nodename. - i?86:DYNIX/ptx:4*:*) + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 + test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 + ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. echo i386-sequent-sysv4 exit 0 ;; - i?86:UNIX_SV:4.2MP:2.*) + i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, @@ -865,7 +1013,27 @@ # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit 0 ;; - i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit 0 ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit 0 ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit 0 ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} @@ -873,36 +1041,32 @@ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit 0 ;; - i?86:*:5:7*) - # Fixed at (any) Pentium or better - UNAME_MACHINE=i586 - if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then - echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} - fi + i*86:*:5:[78]*) + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit 0 ;; - i?86:*:3.2:*) + i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit 0 ;; - i?86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about @@ -926,9 +1090,15 @@ # "miniframe" echo m68010-convergent-sysv exit 0 ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit 0 ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` @@ -939,21 +1109,21 @@ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4 && exit 0 ;; - m68*:LynxOS:2.*:*) + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit 0 ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; - i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; - rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) + rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit 0 ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit 0 ;; @@ -971,8 +1141,8 @@ echo ns32k-sni-sysv fi exit 0 ;; - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says echo i586-unisys-sysv4 exit 0 ;; *:UNIX_System_V:4*:FTX*) @@ -984,10 +1154,14 @@ # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit 0 ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit 0 ;; - news*:NEWS-OS:*:6*) + news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit 0 ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) @@ -1012,6 +1186,9 @@ SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; @@ -1019,31 +1196,76 @@ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) - echo `uname -p`-apple-darwin${UNAME_RELEASE} + case `uname -p` in + *86) UNAME_PROCESSOR=i686 ;; + powerpc) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) - if test "${UNAME_MACHINE}" = "x86pc"; then + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi - echo `uname -p`-${UNAME_MACHINE}-nto-qnx + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; - NSR-W:NONSTOP_KERNEL:*:*) + NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit 0 ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit 0 ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit 0 ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit 0 ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit 0 ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit 0 ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit 0 ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit 0 ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit 0 ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit 0 ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit 0 ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 +eval $set_cc_for_build cat >$dummy.c < @@ -1130,11 +1352,24 @@ #endif #if defined (vax) -#if !defined (ultrix) - printf ("vax-dec-bsd\n"); exit (0); -#else - printf ("vax-dec-ultrix\n"); exit (0); -#endif +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif #endif #if defined (alliant) && defined (i860) @@ -1145,8 +1380,7 @@ } EOF -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 # Apollos put the system type in the environment. @@ -1178,6 +1412,48 @@ esac fi -#echo '(Unable to guess system type)' 1>&2 +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: --- abcm2ps-4.5.0.orig/config.sub +++ abcm2ps-4.5.0/config.sub @@ -1,8 +1,10 @@ #! /bin/sh -# Configuration validation subroutine script, version 1.1. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 -# Free Software Foundation, Inc. -# +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + +timestamp='2004-03-12' + # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. @@ -27,8 +29,8 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -# Written by Per Bothner . -# Please send patches to . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. @@ -50,30 +52,74 @@ # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. -if [ x$1 = x ] -then - echo Configuration name missing. 1>&2 - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 - echo "or $0 ALIAS" 1>&2 - echo where ALIAS is a recognized configuration type. 1>&2 - exit 1 -fi +me=`echo "$0" | sed -e 's,.*/,,'` -# First pass through any local machine types. -case $1 in - *local*) - echo $1 - exit 0 - ;; - *) - ;; +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit 0;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -99,7 +145,7 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple) + -apple | -axis) os= basic_machine=$1 ;; @@ -113,6 +159,14 @@ os=-vxworks basic_machine=$1 ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; -hiux*) os=-hiuxwe2 ;; @@ -171,30 +225,64 @@ case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. - tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ - | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ - | 580 | i960 | h8300 \ - | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \ - | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ - | hppa64 \ - | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ - | alphaev6[78] \ - | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ - | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ - | mips64orion | mips64orionel | mipstx39 | mipstx39el \ - | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ - | mips64vr5000 | miprs64vr5000el | mcore \ - | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ - | thumb | d10v | fr30 | avr) + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | m32r | m32rle | m68000 | m68k | m88k | mcore \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | msp430 \ + | ns16k | ns32k \ + | openrisc | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ + | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xscale | xstormy16 | xtensa \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. basic_machine=$basic_machine-unknown + os=-none ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl) + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. - i[34567]86) + i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. @@ -203,28 +291,61 @@ exit 1 ;; # Recognize the basic CPU types with company name. - # FIXME: clean up the formatting here. - vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ - | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ - | xmp-* | ymp-* \ - | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ - | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ - | hppa2.0n-* | hppa64-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ - | alphaev6[78]-* \ - | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ - | clipper-* | orion-* \ - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ - | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ - | mipstx39-* | mipstx39el-* | mcore-* \ - | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ - | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ - | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ - | bs2000-*) + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* \ + | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | mcore-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | msp430-* \ + | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ + | xtensa-* \ + | ymp-* \ + | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. @@ -242,6 +363,9 @@ basic_machine=a29k-amd os=-udi ;; + abacus) + basic_machine=abacus-unknown + ;; adobe68k) basic_machine=m68010-adobe os=-scout @@ -256,19 +380,25 @@ basic_machine=a29k-none os=-bsd ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) - basic_machine=m68k-cbm + basic_machine=m68k-unknown ;; amigaos | amigados) - basic_machine=m68k-cbm + basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) - basic_machine=m68k-cbm + basic_machine=m68k-unknown os=-sysv4 ;; apollo68) @@ -287,6 +417,10 @@ basic_machine=ns32k-sequent os=-dynix ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -307,27 +441,38 @@ basic_machine=c38-convex os=-bsd ;; - cray | ymp) - basic_machine=ymp-cray - os=-unicos - ;; - cray2) - basic_machine=cray2-cray + cray | j90) + basic_machine=j90-cray os=-unicos ;; - [ctj]90-cray) - basic_machine=c90-cray - os=-unicos + cr16c) + basic_machine=cr16c-unknown + os=-elf ;; crds | unos) basic_machine=m68k-crds ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola @@ -369,6 +514,10 @@ basic_machine=tron-gmicro os=-sysv ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 @@ -444,19 +593,19 @@ basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? - i[34567]86v32) + i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; - i[34567]86v4*) + i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; - i[34567]86v) + i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; - i[34567]86sol2) + i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; @@ -468,14 +617,6 @@ basic_machine=i386-unknown os=-vsta ;; - i386-go32 | go32) - basic_machine=i386-unknown - os=-go32 - ;; - i386-mingw32 | mingw32) - basic_machine=i386-unknown - os=-mingw32 - ;; iris | iris4d) basic_machine=mips-sgi case $os in @@ -501,6 +642,10 @@ basic_machine=ns32k-utek os=-sysv ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; miniframe) basic_machine=m68000-convergent ;; @@ -508,14 +653,6 @@ basic_machine=m68k-atari os=-mint ;; - mipsel*-linux*) - basic_machine=mipsel-unknown - os=-linux-gnu - ;; - mips*-linux*) - basic_machine=mips-unknown - os=-linux-gnu - ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; @@ -530,8 +667,12 @@ basic_machine=m68k-rom68k os=-coff ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; msdos) - basic_machine=i386-unknown + basic_machine=i386-pc os=-msdos ;; mvs) @@ -595,9 +736,17 @@ basic_machine=i960-intel os=-mon960 ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; np1) basic_machine=np1-gould ;; + nv1) + basic_machine=nv1-cray + os=-unicosmp + ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -605,6 +754,14 @@ basic_machine=hppa1.1-oki os=-proelf ;; + or32 | or32-*) + basic_machine=or32-unknown + os=-coff + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose @@ -627,45 +784,65 @@ pbb) basic_machine=m68k-tti ;; - pc532 | pc532-*) + pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pentium | p5 | k5 | k6 | nexen) + pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; - pentiumpro | p6 | 6x86) + pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; - pentiumii | pentium2) + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) basic_machine=i786-pc ;; - pentium-* | p5-* | k5-* | k6-* | nexen-*) + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumpro-* | p6-* | 6x86-*) + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumii-* | pentium2-*) + pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; - power) basic_machine=rs6000-ibm + power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown - ;; + ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown - ;; + ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; ps2) basic_machine=i386-ibm ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -676,10 +853,26 @@ rtpc | rtpc-*) basic_machine=romp-ibm ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; sa29200) basic_machine=a29k-amd os=-udi ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; sequent) basic_machine=i386-sequent ;; @@ -687,7 +880,10 @@ basic_machine=sh-hitachi os=-hms ;; - sparclite-wrs) + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; @@ -754,18 +950,42 @@ os=-dynix ;; t3e) - basic_machine=t3e-cray + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray os=-unicos ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; tower | tower-32) basic_machine=m68k-ncr ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; udi29k) basic_machine=a29k-amd os=-udi @@ -787,8 +1007,8 @@ os=-vms ;; vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; + basic_machine=f301-fujitsu + ;; vxworks960) basic_machine=i960-wrs os=-vxworks @@ -809,13 +1029,13 @@ basic_machine=hppa1.1-winbond os=-proelf ;; - xmp) - basic_machine=xmp-cray - os=-unicos - ;; - xps | xps100) + xps | xps100) basic_machine=xps100-honeywell ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim @@ -836,13 +1056,6 @@ op60c) basic_machine=hppa1.1-oki ;; - mips) - if [ x$os = x-linux-gnu ]; then - basic_machine=mips-unknown - else - basic_machine=mips-mips - fi - ;; romp) basic_machine=romp-ibm ;; @@ -852,16 +1065,26 @@ vax) basic_machine=vax-dec ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; - sparc | sparcv9) + sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; - cydra) + cydra) basic_machine=cydra-cydrome ;; orion) @@ -876,9 +1099,8 @@ pmac | pmac-mpw) basic_machine=powerpc-apple ;; - c4x*) - basic_machine=c4x-none - os=-coff + *-unknown) + # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 @@ -932,27 +1154,35 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit*) + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in - x86-* | i[34567]86-*) + x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; + -nto-qnx*) + ;; -nto*) - os=-nto-qnx + os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ @@ -961,6 +1191,9 @@ -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; @@ -973,6 +1206,9 @@ -opened*) os=-openedition ;; + -os400*) + os=-os400 + ;; -wince*) os=-wince ;; @@ -991,16 +1227,25 @@ -acis*) os=-aos ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; + -nova*) + os=-rtmk-nova + ;; -ns2 ) - os=-nextstep2 + os=-nextstep2 ;; - -nsk) + -nsk*) os=-nsk ;; # Preserve the version number of sinix5. @@ -1010,6 +1255,9 @@ -sinix*) os=-sysv4 ;; + -tpf*) + os=-tpf + ;; -triton*) os=-sysv3 ;; @@ -1037,8 +1285,14 @@ -xenix) os=-xenix ;; - -*mint | -*MiNT) - os=-mint + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos ;; -none) ;; @@ -1071,7 +1325,14 @@ arm*-semi) os=-aout ;; - pdp11-*) + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) os=-none ;; *-dec | vax-*) @@ -1098,6 +1359,9 @@ mips*-*) os=-elf ;; + or32-*) + os=-coff + ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; @@ -1161,25 +1425,25 @@ *-next) os=-nextstep3 ;; - *-gould) + *-gould) os=-sysv ;; - *-highlevel) + *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; - *-sgi) + *-sgi) os=-irix ;; - *-siemens) + *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; - f301-fujitsu) + f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) @@ -1242,10 +1506,16 @@ -mvs* | -opened*) vendor=ibm ;; + -os400*) + vendor=ibm + ;; -ptx*) vendor=sequent ;; - -vxsim* | -vxworks*) + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) @@ -1257,12 +1527,23 @@ -mpw* | -macos*) vendor=apple ;; - -*mint | -*MiNT) + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; + -vos*) + vendor=stratus + ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: --- abcm2ps-4.5.0.orig/debian/README.Debian +++ abcm2ps-4.5.0/debian/README.Debian @@ -0,0 +1,12 @@ +abcm2ps for Debian +------------------ + +This is a Debianization of Jef Moine's abcm2ps package. It differs +from the original in the following respects: + + - It contains an SGML-based manual page. + - Format files are placed in /usr/share/abcm2ps rather than + /usr/local/share/abcm2ps. + - abcm2ps assumes A4 paper by default. + + -- Anselm Lingnau , Mon Jan 5 03:02:59 2004 --- abcm2ps-4.5.0.orig/debian/changelog +++ abcm2ps-4.5.0/debian/changelog @@ -0,0 +1,36 @@ +abcm2ps (4.5.0-1) unstable; urgency=low + + * New upstream release. + * Updated manual page as per upstream changes. + + -- Anselm Lingnau Fri, 21 May 2004 10:38:03 +0200 + +abcm2ps (4.2.1-1) unstable; urgency=low + + * New upstream release + + -- Anselm Lingnau Fri, 20 Feb 2004 12:48:27 +0100 + +abcm2ps (4.0.8-1) unstable; urgency=low + + * New upstream release. + * Added "%%staff" and "%%halfbeam" to manual page; change wording of + clef explanations. + * Included examples from upstream distribution. + * Updated to policy version 3.6.1. + + -- Anselm Lingnau Thu, 22 Jan 2004 11:57:19 +0100 + +abcm2ps (4.0.7-1) unstable; urgency=low + + * New upstream release. + * Removed erroneous doc-base control file. + + -- Anselm Lingnau Tue, 13 Jan 2004 09:06:54 +0100 + +abcm2ps (4.0.5-1) unstable; urgency=low + + * Initial Release. + + -- Anselm Lingnau Mon, 5 Jan 2004 02:41:57 +0100 + --- abcm2ps-4.5.0.orig/debian/compat +++ abcm2ps-4.5.0/debian/compat @@ -0,0 +1 @@ +4 --- abcm2ps-4.5.0.orig/debian/dirs +++ abcm2ps-4.5.0/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- abcm2ps-4.5.0.orig/debian/watch +++ abcm2ps-4.5.0/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://moinejf.free.fr/abcm2ps-(.*)\.tar\.gz debian uupdate --- abcm2ps-4.5.0.orig/debian/copyright +++ abcm2ps-4.5.0/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Anselm Lingnau on +Wed, 30 Jul 2003 19:45:11 +0200. + +It was downloaded from http://moinejf.free.fr/ + +Upstream Author: Jef Moine + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- abcm2ps-4.5.0.orig/debian/control +++ abcm2ps-4.5.0/debian/control @@ -0,0 +1,21 @@ +Source: abcm2ps +Section: text +Priority: optional +Maintainer: Anselm Lingnau +Build-Depends: debhelper (>> 4.0.0), docbook-to-man +Standards-Version: 3.6.1 + +Package: abcm2ps +Architecture: any +Depends: ${shlibs:Depends} +Description: Translates ABC music description files to PostScript + This is the Debian port of the abcm2ps program by Jean-François Moine. + The program translates tunes written in the ABC format to PostScript, + which can then be viewed using Ghostview et al. or printed on a + PostScript printer or through Ghostscript. It supports various + semi-standard extensions to the ABC standard, such as multiple + voices and staves. + . + This program is a vastly improved spin-off from Michael Methfessel's + abc2ps, which continues to be available for the time being. In particular, + it contains a lot of extensions to help typeset classical music. --- abcm2ps-4.5.0.orig/debian/rules +++ abcm2ps-4.5.0/debian/rules @@ -0,0 +1,110 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info --enable-a4 + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + /usr/bin/docbook-to-man debian/abcm2ps.sgml > abcm2ps.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + rm -f abcm2ps +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean config.log config.cache config.status + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/abcm2ps. + $(MAKE) install prefix=$(CURDIR)/debian/abcm2ps/usr + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs + dh_installexamples *.abc *.eps +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- abcm2ps-4.5.0.orig/debian/docs +++ abcm2ps-4.5.0/debian/docs @@ -0,0 +1,4 @@ +README +features.txt +format.txt +options.txt --- abcm2ps-4.5.0.orig/debian/abcm2ps.sgml +++ abcm2ps-4.5.0/debian/abcm2ps.sgml @@ -0,0 +1,1773 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + Anselm"> + Lingnau"> + July 30, 2003"> + 1"> + lingnau@debian.org"> + + ABCM2PS"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2004 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + translate ABC music notation to PostScript + + + + &dhpackage; + + options + abc-file file-options ... + + + &dhpackage; + + + + + DESCRIPTION + + &dhpackage; translates tunes written in + the ABC music notation format to customary sheet music scores in + PostScript. It is based on abc2ps 1.2.5 and was + developed mainly to print Baroque organ scores that have + independent voices played on multiple keyboards and a + pedal-board. The program has since been extended to support + various other notation conventions in use for sheet music. + Options given immediately after the command name apply to + the run as a whole; options given after an ABC file name apply + to that file. + Formatting parameters can also be set in `format files' and + in the ABC files themselves. + + + + OPTIONS + + + + + + Split tunes across page breaks if necessary. + + + + + + Start a new page if a tune doesn't fit on the current + one (default). + + + + + + Output one tune per page. + + + + + + Output multiple tunes per page (default). + + + + + + Maximal horizontal compression when staff breaks are + chosen automatically. Must be between 0 and 1 (default: + 0.65) + + + + + + Try to typeset b bars + on each staff line. + + + + + + Don't try to typeset a fixed number of + bars on each staff line (default). + + + + + + Start measure numbering at b. + + + + + + Obsolete option; ignored. + + + + + + The continuation symbol is implicitly appended to each + music line. This amounts to automatic line breaking. + + + + + + Automatic line breaking is turned off (default). + + + + + + Search format files in + directory. + + + + + + Set the vertical interstaff space to + length (default: 46pt) + + + + + + Output is generated in EPS format, one file per page. + + + + + + Output is generated in multipage PS format (default). + + + + + + Select which tunes from an ABC file to print. + list is a comma-separated list + of tune numbers (as per the `X:' header). The + option must occur after an ABC file + name and applies to that file. Ranges of tune numbers may + be specified like + t1-t2; + t2 may be omitted which means + `all remaining tunes until the end of file'. Note that + filtering may cause problems, e.g., with global (non-tune) + definitions in the ABC file. + + + + + + Read the format file + file.fmt. + + + + + + Do not read the default format file. + + + + + + Enable flat beams in bagpipe tunes. + + + + + + Omit slurs on grace notes. + + + + + + Draw slurs on grace notes (default). + + + + + + Obsolete option; ignored. + + + + + + Display the current values of the formatting parameters. + + + + + + Display program usage hints and quit. + + + + + + Indent the first line of the tune by + length (default: 0). + + + + + + Output a measure number every + b measures. If + b is 0, the measure number + appears at the left of each staff. The trailing + causes a box to be drawn around each + measure number (default: no measure numbering). + + + + + + Don't output measure numbers. + + + + + + Equivalent to . + + + + + + Equivalent to . + + + + + + Set the language encoding to + ISO-Latin-enc, where + enc can take on values from + to . The value + is equivalent to but + no PostScript encoding table is output (default: 0). + + + + + + Generate landscape output. + + + + + + Generate portrait output (default). + + + + + + Suppress lyrics. + + + + + + Include lyrics (default). + + + + + + Set the left margin to + length (default: 1.8cm) + + + + + + Number pages according to the + mode: + + + no page numbers + + + page numbers at top left + of page + + + page numbers at top right + of page + + + page numbers at top left of + even-numbered pages, top right of odd-numbered + pages + + + page numbers at top right of + even-numbered pages, top left of odd-numbered + pages + + + For compatibility, + is equivalent to + (default: ). + + + + + + Equivalent to (no page + numbering). + + + + + + Include notes and history from ABC tune `N:' fields. + + + + + + Omit notes and history from ABC tune `N:' fields + (default). + + + + + + Define the output file name. By default, the output + file name is `Out.ps' for PostScript output and + `Outnnn.eps' for EPS output (see + ). If this option is given, the output + name will be name or + namennn.eps, respectively. If + name is `=', the output file name + will be the name of the ABC source file with the extension + `.ps' or `.eps'. If name is `-', + the output is written to stdout. + + + + + + Revert to the default output file name (`Out.ps' or + `Outnnn.eps') + + + + + + Obsolete option; ignored. + + + + + + Obsolete option; ignored. + + + + + + Obsolete option; ignored. + + + + + + Print tempo (metronome) indications (default). + + + + + + Omit tempo (metronome) indications. + + + + + + Obsolete option; ignored. + + + + + + Obsolete option; ignored. + + + + + + Set the page scale factor to + scale. Note that the header and + footer are not scaled (default: 0.75). + + + + + + Obsolete option; ignored. + + + + + + Use implicit decorations as in + abc2ps (default: off) + + + + + + Output version number and quit. + + + + + + Obsolete option; ignored. + + + + + + Display a tin whistle tablature for the voice numbered + v, where + v is the internal voice number + that is incremented as new voices are encountered; it is + not the voice name. p is the + base pitch of the tin whistle. Up to four tablatures may + be defined, as in `'. + + + + + + Don't output tin whistle tablatures (default). + + + + + + Adjust the right margin such that the staff width is + length (default: none) + + + + + + Include the `X:' tune number in the title. + + + + + + Do not include the `X:' tune number in the title + (default). + + + + + + FORMATTING PARAMETERS + + The following formatting parameters can be used in format + files. They can also occur in ABC files when they are preceded + by , or as headers (even + in the middle of a music line). + + + + + Define where to display the composer field. A negative value + displays it flush-left, a value of zero centered, and a positive + value flush-right (default: 1). + + + + + + Set the annotation font to + font with size + size (default: Helvetica 12) + + + + + + Adjust the clefs when they are not defined in `K:' or + `V:' lines (default: 1). + + + + + + Try to typeset with int bars + per line (default: 0; command line: , + ) + + + + + + Set the bottom margin to + length (default: 1cm) + + + + + + If this is set, the stem of the note on the middle of + the staff extends downwards. Otherwise it extends up or + down depending on the preceding note (default:0). + + + + + + Set the `composer' font to + font with size + size (default: Times-Italic 14) + + + + + + Set the vertical space before the composer name to + length (Default: 0.2cm) + + + + + + If this is set to true, ignore the line breaks in a + tune (default: 0; command line: , + ) + + + + + + Define a decoration. This is an experimental feature + which is subject to change in future releases. See the + files format.txt and + deco.abc for details. + + + + + + Set the language encoding to + ISO-Latin-enc, where + enc can take values from 0 to + 6. The value 0 is the same as 1, but no PostScript + encoding table is output. + + Alternatively, enc may take + one of the predefined values us-ascii, + iso-8859-1, iso-8859-2, + iso-8859-3, iso-8859-4, + iso-8859-9, iso-8859-10, + or native (meaning encoding vectors will + not be changed). If enc is anything + else, it must be a string which is taken to be PostScript + commands that set up a suitable encoding vector. + + + + + + Draw expression decorations above the staff. If + neither nor + are `true', expression + decorations are drawn above the staff if there are lyrics + on the staff, and below + otherwise. takes precedence + over (default: 0). + + + + + + Draw expression decorations below the staff. If + neither nor + are `true', expression + decorations are drawn above the staff if there are lyrics + on the staff, and below + otherwise. takes precedence + over (default: 0). + + + + + + Draw flat beams in bagpipe tunes (default: 0; command + line: ) + + + + + + Define a font and its encoding. Use this parameter + when you want to refer to specific fonts in ABC + files/tunes. It must occur before any PostScript output is + written, generally in a format + file. encoding defaults to the + encoding set up by the parameter. + + + + + + + Define the text printed at the bottom of every + page. There may be one or two lines. When there are two + lines, these must be separated by the characters `\n' (not + a real newline). Each of the lines consists of three + areas, left, center and right, which are separated by tabs + (real tabs, not '\t') and may be empty - if the left area + is empty, the text must be + quoted. + The `$' character introduces variable + expansion: + + + + The current date and time + + + + The current input file name + + + + The current page number + + + + The current pagenumber (when even) + + + + The current pagenumber (when odd) + + + + The current tune title + + + + `abcm2ps-' followed by the program's + version number + + + For example, the command line option + is equivalent to `%%header "$P0 $P1"' + (note the two tabs). (Default: none) + + + + + + Set the footer font to + font with size + size (default: Times-Roman 12) + + + + + + Prevent the characters `#', `b' and `=' to be + displayed as the sharp sign, the flat sign, and the + natural sign, respectively, in guitar chords. When this + flag is set, the display of the accidentals may be forced + by escaping the characters (`\#', `\b' and `\=') (default: + 0) + + + + + + Draw a box around guitar chords. Can be set to + `true' using `%%gchordfont' below. (Default: 0) + + + + + + Set the guitar chord font to + font with size + size. If + is specified, draw a box around guitar chords + (default: Helvetica 12, no box) + + + + + + Draw slurs on grace notes if true (default: 1; command + line: , ) + + + + + + If true, sequences of 1/32 (or shorter) notes will be beamed + in groups, with a single beam leading from one group to + the next. The groups will be sized to make up 1/8 note, + i.e., 4 1/32 notes or 8 1/64 notes. (default: 1) + + + + + + Define the text printed at the top of every page. See + the parameter above for the syntax + (default: none) + + + + + + Set the header font to + font with size + size (default: Times-Roman 12) + + + + + + Indent the first line of a tune by + length (default:0; command + line: ) + + + + + + Set the information line font to + font with size + size (default: Times-Italic 14) + + + + + + Display the rhythm (`R:') and the origin of the tune + (`O:') on a single `information line' (default: 0) + + + + + + Set the vertical space before the information line to + length (default: 0). + + + + + + Set page orientation to landscape if true (default: 0; + command line: , ). + + + + + + Set the left margin to + length (default: 1.8cm; command + line: ) + + + + + + Set the factor for spacing between lines of text to + float times the font size + (default: 1.1) + + + + + + Set how much the output may be compressed horizontally + when staff breaks are chosen + automatically. float must be + between 0 and 1 (default: 0.65; command line: + ) + + + + + + Set the maximum vertical inter-staff space to length (default: 800pt) + + + + + + Set the maximum vertical system inter-staff space to length (default: 800pt) + + + + + + Draw a box around the measure numbers if true + (default: 0; command line: or + ). + + + + + + Start measure numbering of the tune at + int. If the measure number needs + to be changed inside a tune, use + (default: 1; command line: ) + + + + + + Set the font for measure numbers to + font at size + size. If + box is specified, draw a box around + the measure number (default: Times-Italic 14, no box). + + + + + + Draw a measure number every + int bars. If + int is 0, the measure number + appears at the left end of each staff. If + int is -1, no measure numbers + are displayed at all (default: -1; command line: + or + ). + + + + + + If true, no lyrics are output (default: 0; command + line: , ) + + + + + + Set the vertical space before the first staff of a + tune to length (default: + 0.2cm) + + + + + + Set the note spacing factor to + float. This value is used to + compute the natural space notes take up. The base space of + the crotchet (quarter note) is always 40pt. When the + duration of a note type is twice that of another note + type, the space it takes up is multiplied by this + factor. The default value increases the note space by a + factor of 2 when the corresponding note's value increases + by a factor of 4. That is, the space of a semibreve is + 80pt and that of a semiquaver is 20pt. Setting this value + to 1 sets all note spaces to 40pt (default: 1.414). + + + + + + If true, output one tune per page; if false, multiple + tunes are output per page if there is sufficient room + (default: 0; command line: , + ). + + + + + + Set the page height to + length + (default: hardcoded) + + + + + + Set the page width to + length (default: + hardcoded) + + + + + + Set the factor for spacing between parts of a tune to + float + (default: 0.4) + + + + + + Draw a box around the part names if true (default: 0) + + + + + + Set the font for part names to + font with size + size. If + is specified, draw a box around the part names. + (default: Times-Roman 15) + + + + + + Set the vertical space before a new part to + length (default: 0.3cm). + + + + + + Define a postscript sequence to be included in the + header of the output file. This formatting parameter may + be used to override any postscript function or to define + new functions for use in . It should + be processed before any output occurs, that is, in a + format file or at the beginning of the first ABC file. + + + + + + Print the part indications (`P:' header) (default: 1). + + + + + + Print tempo (metronome) indications (`Q:' header) if + true (default: 1; command line: , + ). + + + + + + Define the PostScript language level for output. Allowable + values are 1, 2, or 3.(default: 2). + + + + + + Set the font for repeat bracket numbers/texts to + font at size + size. + + + + + + Set the right margin to + length (default: 1.8cm) + + + + + + Set the global page scale factor to + float. This does not apply to + headers and footers (default: 0.75; command line: + ). + + + + + + + + + Set up alternate fonts for strings. In most strings, + you can switch to one of the alternate fonts using + $1..$4; $0 + switches back to the default value for that string. + (default: Times-Roman 0) + + + + + + + Usually in multi-voice tunes, when two voices are in unison + and one has a half note and the other a note shorter than a + quarter note, there is only one note head (the half note). If + this flag is set, both heads are displayed (one is shifted). + (default: 0) + + + + + + Set the slur height factor to + float (default: 1.0). + + + + + + If false, a tune is output on a new page if it doesn't + fit on the one currently being output. If true, a tune may + be split across page breaks (default: 0; command line: + , ). + + + + + + If true, display breve notes in a square shape + (default: 0) + + + + + + Set the vertical inter-staff space to + length (default: 46pt; command + line: ) + + + + + + Set the right margin such that the staff width is + length (default: none - but see + and ). + + + + + + If true, use straight flags on stems in bagpipe tunes + (default: 0) + + + + + + If true, stretch the last staff of a tune to fill the + whole line even though it may be underfull (default: 0) + + + + + + If true, stretch all underfull staves to fill the + whole line (default: 1) + + + + + + Set the font for subtitles (second and subsequent `T:' + headers in a tune) to font with + size size (default: Times-Roman + 16) + + + + + + Set the vertical space before subtitles (second and + subsequent `T:' headers in a tune) to + length (default: 0.1cm). + + + + + + Set the vertical system interstaff space to + length (default: 36pt). + + + + + + Set the font for tempo (metronome) indications to + font with size + size (default: Times-Bold 15) + + + + + + Set the text font to + font with size + size (default: Times-Roman 16) + + + + + + Set the vertical space before text blocks to + length (default: 0.5cm). + + + + + + If true, output the tune title in uppercase letters + (default: 0) + + + + + + Set the title font to + font with size + size (default: Times-Roman 20) + + + + + + If true, output the tune title flush left (instead of + centered) (default: 0) + + + + + + Set the vertical space before the tune title to + length (default: 0.2cm). + + + + + + Set the top margin to + length (default: 1cm) + + + + + + Set the vertical space at the top of a tune to + length (default: 0.8cm) + + + + + + Define how to draw tuplets. The when + parameter can be 0 (to decide + automatically whether to draw a slur or bracket over the + tuplet), 1 (to never draw one) or + 2 (to always draw one). The + what parameter defines what to + draw: 0 means a bracket, + 1 a slur; 2 extends + beams across rests. The value + parameter defines how to annotate the tuplet: + 0 means to write a simple number + (p), 1 writes + nothing, and 2 writes a ratio + (p:q). + + + + + + + If true, output lyrics above the staff (instead of + below it) (default: 0.8cm) + + + + + + Set the font for lyrics inside a tune to + font with size + size (default: Times-Bold 13) + + + + + + Set the vertical space between a staff and its lyrics to + length (default: 23pt) + + + + + + Set the font for voice names (default: Times-Bold 13). + + + + + + If true, print the number from the `X:' header in the + tune title (default: 0; command line: , + ) + + + + + + Set the font for lyrics at the end of a tune to + font with size + size (default: Times-Roman 16) + + + + + + Set the vertical space before the end-of-tune lyrics to + length (default: 0.5cm) + + + + + + If true, output notes and history (`N:' and `H:' + headers) (default: 0; command line: , + ) + + + + + The following formatting parameters can only occur inside + tunes and not in a format file: + + + + + + Start printing a free-form text. The text to be + printed appears on the subsequent lines of the the input + file up to a line containing . + The text lines may start with . + The parameter may + be: + + + + + Line breaks in the input file are kept (default) + + + + or + + Lines are justified + + + + or + + Line breaks are ignored but output is + left-justified + + + + + + The text lines are not printed at all + + + + + + + + + Print one line of centered text + + + + + + Include filename as an EPS + file + + + + + + Finish a block of free text started by + + + + + + + Define multicolumn + printing. command may be: + + + + + Save the current vertical position and left + and right margins. These margins may then be changed + to print music or text. + + + + + + Reset the vertical position to the place of the + previous and restore the left + and right margins. These can then be changed again + to display another column. + + + + + + Restore the left and right margins and skip down + the page to a `safe place'. + + + + + + + + + Start a new page, restarting page numbering from + int if applicable. + + + + + + Repetition brackets are normally displayed as written in a + voice. %%repbra 0 suppresses them for the + current voice. + + + + + + Print a separator (line) of length + length with vertical space + h1 above and + h2 below (defaults: + h1 and + h2: 0.5cm; + length: 3cm) + + + + + + Set the measure number to int. + When not inside a tune body, this is equivalent to + . + + + + + + Put the following material on staff + num. This will lead, e.g., + to beams between notes in different staffs. Useful for + keyboard music; see, for example, + sample4.abc. + + + + + + Leave a space of length in + the current staff. If length is + greater than 0.5cm, the left side of the staff (system) is + redrawn. In a multi-voice tune, a staff break must be + specified in each voice. + + + + + + See below. + + + + + + Output a single line of text. + + + + + + Leave vertical space of height + length + + + + + + + ADDITIONAL FEATURES + + + Clefs + Clefs can be given in K: and + V: headers. The full syntax is + +clef=typeline+8|-8 middle=pitch + + + + The `clef=' can be omitted when the + type is a clef name. + + + type denotes the clef type. It may + be: + + + A note pitch (G, C, or F) + + The pitch indicates which clef is meant: + G is the treble clef, + C the alto clef and + F the bass clef. It also gives the + name of the note that appears on the clef's line. + + + + A clef name + + The available clef names are + treble (clef gives the pitch for + G), alto or + tenor (C), and + bass (F) + + + + none + + No clef will be displayed. + + + + + + The line gives the number of the + line within the staff that the base clef will be written + on. The default values are 2 for the treble clef, 3 for the + alto clef, and 4 for the tenor and bass clefs. + + + The +8 and -8 options + draw an 8 above or below the staff, respectively. + `middle=pitch' + (or `m=pitch', + for short) is an alternative way of defining the line number + of the clef: + The pitch indicates what note will be + displayed on the middle line of the staff. + + When no clef is specified, clef changes between + bass and treble will be + inserted automatically. + + + + Multi-voice typesetting + Multiple voices may be defined within the header or the + tune using + +V:name definition ... + + where name is a word consisting of + letters and digits only (like violin1). In + the tune body, the following notes refer to this voice until + another V: is encountered. A + definition can be one of: + + + clef=... + See above + + + name=name or nm=name + + The name will be + displayed at the beginning of the first staff. It can + contain the \n sequence which will + force a line break. If it contains whitespace it must be + double-quoted. + + + + subname=name or snm=name + + The name will be + displayed at the beginning of all staves except for the + first. It can + contain the \n sequence which will + force a line break. If it contains whitespace it must be + double-quoted. + + + + merge + + The voice goes on the same staff as the previous + voice. + + + + up or down + + Forces the direction of the stems for the voice. + + + + All other definitions are ignored. + + + By default, each voice goes on its own staff. The `%%staves + definition' + pseudo-comment can be used to control staff assignment. The + definition consists of voice names + (from V:) and pairs of parentheses, braces + or brackets. + + + When a voice name is not within a pair of special + characters, it goes on a separate staff. + + + For voice names enclosed in brackets, a bracket is + displayed at the beginning of each line that joins the + staves of the voices in question. + + + For voice names enclosed in braces, all the voices + go on two staves (keyboard score). There can be at most + four voices between a single pair of braces. + + + For voice names enclosed in parentheses, all the + voices appear on a single staff. + + + + + The `|' character prevents measure bars from + being drawn between two staves. + + If `%%staves' occurs in a tune, all the voices not mentioned + will not be output at all. + + + Voice overlay + You can add notes to a staff without introducing a + complete extra voice by using the ampersand (&). + A single measure can be split into two voices like + +|F2A2Bc&F2c2bc| + + The (&...&...) construction + allows splitting multiple measures: + +|!f!(&GG<G|GG F=E| E2 E(_D/E)|_D D C D |C4- |C +     &DC<C|CC_D C|=B,2_B,B, |_A,A,(G,/A,/)B,|F,4-|F,)zzD=E| + + A double ampersand (&&) will allow + overlaying more than two lines of music but this feature has + not yet been implemented. + + + + Lyrics + Aligned lyrics under a staff are written as a + w: line directly below the staff line. For + example: + +edc2 edc2| +w:Three blind mice, three blind mice + + Each word in the w: line (delimited by + blanks) is associated with one note, in sequence. The + following special symbols modify this behaviour: + + + * + Skips one note. + + + - + Splits a word into two syllables which are + associated with two adjacent notes. A `-' is drawn + between them. + + + + | + Advances to the next bar + line + + + ~ + Is output as a space, but unites two words + so they appear under a single note. + + + _ + Draws a thin underscore from the + previous note to the next. + + + + + To include more than one line of lyrics, use multiple + w: lines. To include hyphens without + splitting a word over multiple notes, use + \-. + + + If a word starts with a digit, this is interpreted as a stanza + number and outdented a bit to the left. + + + + Slurs and ties + The direction of slurs and ties may be controlled using + the (, and (', + and -, and -', constructions. + + + + Microtone pitches + Microtone pitches are indicated by a fraction after an + accidental, as in ^3/4c. When omitted, the + numerator defaultes to 1 and the denominator to 2 (so ^/c is the same as ^1/2c). The numerator and denominator + values may not exceed 256. There is built-in support for + quarter-tone accidentals (1/2 and 3/2 sharps and flats); + for other values, rendering functions must be defined using + %%postscript (see + features.txt). + + + EPS inclusion + EPS files may be included inside tunes using the + pseudo-comment `%%EPS file'. + + + Drums + The drum clef is called P or + perc in K: or + V:. Within drum clef tunes/voices, sharp + notes will result in `x'-shaped note heads. + + + + + + SEE ALSO + + The original documentation can be found in files + features.txt, + format.txt, and options.txt, + which on a Debian system are in + /usr/share/doc/abcm2ps. + + + AUTHOR + + This manual page was written by &dhusername; <&dhemail;> for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document as long + as its origin is not misrepresented. + + +
+ + + + --- abcm2ps-4.5.0.orig/debian/abcm2ps.manpages +++ abcm2ps-4.5.0/debian/abcm2ps.manpages @@ -0,0 +1 @@ +abcm2ps.1 --- abcm2ps-4.5.0.orig/debian/ABCM2PS.DOC-BASE.EX +++ abcm2ps-4.5.0/debian/ABCM2PS.DOC-BASE.EX @@ -0,0 +1,22 @@ +Document: abcm2ps +Title: Debian abcm2ps Manual +Author: +Abstract: This manual describes what abcm2ps is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/abcm2ps/abcm2ps.sgml.gz + +Format: postscript +Files: /usr/share/doc/abcm2ps/abcm2ps.ps.gz + +Format: text +Files: /usr/share/doc/abcm2ps/abcm2ps.text.gz + +Format: HTML +Index: /usr/share/doc/abcm2ps/html/index.html +Files: /usr/share/doc/abcm2ps/html/*.html + + --- abcm2ps-4.5.0.orig/abcm2ps.1 +++ abcm2ps-4.5.0/abcm2ps.1 @@ -0,0 +1,1004 @@ +.\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $ +.\" +.\" transcript compatibility for postscript use. +.\" +.\" synopsis: .P! +.\" +.de P! +.fl +\!!1 setgray +.fl +\\&.\" +.fl +\!!0 setgray +.fl \" force out current output buffer +\!!save /psv exch def currentpoint translate 0 0 moveto +\!!/showpage{}def +.fl \" prolog +.sy sed -e 's/^/!/' \\$1\" bring in postscript file +\!!psv restore +. +.de pF +.ie \\*(f1 .ds f1 \\n(.f +.el .ie \\*(f2 .ds f2 \\n(.f +.el .ie \\*(f3 .ds f3 \\n(.f +.el .ie \\*(f4 .ds f4 \\n(.f +.el .tm ? font overflow +.ft \\$1 +.. +.de fP +.ie !\\*(f4 \{\ +. ft \\*(f4 +. ds f4\" +' br \} +.el .ie !\\*(f3 \{\ +. ft \\*(f3 +. ds f3\" +' br \} +.el .ie !\\*(f2 \{\ +. ft \\*(f2 +. ds f2\" +' br \} +.el .ie !\\*(f1 \{\ +. ft \\*(f1 +. ds f1\" +' br \} +.el .tm ? font underflow +.. +.ds f1\" +.ds f2\" +.ds f3\" +.ds f4\" +'\" t +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +.TH "ABCM2PS" "1" +.SH "NAME" +abcm2ps \(em translate ABC music notation to PostScript +.SH "SYNOPSIS" +.PP +\fBabcm2ps\fR [\fIoptions\fR] [\fIabc-file\fR \fI[file-options]\fR] [...] +.PP +\fBabcm2ps\fR [\fB-h\fP] +.SH "DESCRIPTION" +.PP +\fBabcm2ps\fR translates tunes written in +the ABC music notation format to customary sheet music scores in +PostScript. It is based on \fBabc2ps\fR 1.2.5 and was +developed mainly to print Baroque organ scores that have +independent voices played on multiple keyboards and a +pedal-board. The program has since been extended to support +various other notation conventions in use for sheet music. +.PP +Options given immediately after the command name apply to +the run as a whole; options given after an ABC file name apply +to that file. +.PP +Formatting parameters can also be set in `format files' and +in the ABC files themselves. +.SH "OPTIONS" +.IP "\fB-0\fP" 10 +Split tunes across page breaks if necessary. +.IP "\fB+0\fP" 10 +Start a new page if a tune doesn't fit on the current +one (default). +.IP "\fB-1\fP" 10 +Output one tune per page. +.IP "\fB+1\fP" 10 +Output multiple tunes per page (default). +.IP "\fB-a \fIa\fR\fP" 10 +Maximal horizontal compression when staff breaks are +chosen automatically. Must be between 0 and 1 (default: +0.65) +.IP "\fB-B \fIb\fR\fP" 10 +Try to typeset \fIb\fR bars +on each staff line. +.IP "\fB+B\fP" 10 +Don't try to typeset a fixed number of +bars on each staff line (default). +.IP "\fB-b \fIb\fR\fP" 10 +Start measure numbering at \fIb\fR. +.IP "\fB-C\fP" 10 +Obsolete option; ignored. +.IP "\fB-c\fP" 10 +The continuation symbol is implicitly appended to each +music line. This amounts to automatic line breaking. +.IP "\fB+c\fP" 10 +Automatic line breaking is turned off (default). +.IP "\fB-D \fIdirectory\fR\fP" 10 +Search format files in +\fIdirectory\fR. +.IP "\fB-d \fIlength\fR\fP" 10 +Set the vertical interstaff space to +\fIlength\fR (default: 46pt) +.IP "\fB-E\fP" 10 +Output is generated in EPS format, one file per page. +.IP "\fB+E\fP" 10 +Output is generated in multipage PS format (default). +.IP "\fB-e \fIlist\fR\fP" 10 +Select which tunes from an ABC file to print. +\fIlist\fR is a comma-separated list +of tune numbers (as per the `X:' header). The +\fB-e\fP option must occur after an ABC file +name and applies to that file. Ranges of tune numbers may +be specified like +\fIt1\fR-\fIt2\fR; +\fIt2\fR may be omitted which means +`all remaining tunes until the end of file'. Note that +filtering may cause problems, e.g., with global (non-tune) +definitions in the ABC file. +.IP "\fB-F \fIfile\fR\fP" 10 +Read the format file +\fIfile\fR.fmt. +.IP "\fB+F\fP" 10 +Do not read the default format file. +.IP "\fB-f\fP" 10 +Enable flat beams in bagpipe tunes. +.IP "\fB-G\fP" 10 +Omit slurs on grace notes. +.IP "\fB+G\fP" 10 +Draw slurs on grace notes (default). +.IP "\fB-g\fP" 10 +Obsolete option; ignored. +.IP "\fB-H\fP" 10 +Display the current values of the formatting parameters. +.IP "\fB-h\fP" 10 +Display program usage hints and quit. +.IP "\fB-I \fIlength\fR\fP" 10 +Indent the first line of the tune by +\fIlength\fR (default: 0). +.IP "\fB-j\fIb\fR\fI[b]\fR\fP" 10 +Output a measure number every +\fIb\fR measures. If +\fIb\fR is 0, the measure number +appears at the left of each staff. The trailing +\fBb\fP causes a box to be drawn around each +measure number (default: no measure numbering). +.IP "\fB+j\fP" 10 +Don't output measure numbers. +.IP "\fB-k\fP" 10 +Equivalent to \fB-j\fP. +.IP "\fB+k\fP" 10 +Equivalent to \fB+j\fP. +.IP "\fB-L\fIenc\fR\fP" 10 +Set the language encoding to +ISO-Latin-\fIenc\fR, where +\fIenc\fR can take on values from +\fB0\fP to \fB6\fP. The value +\fB0\fP is equivalent to \fB1\fP but +no PostScript encoding table is output (default: 0). +.IP "\fB-l\fP" 10 +Generate landscape output. +.IP "\fB+l\fP" 10 +Generate portrait output (default). +.IP "\fB-M\fP" 10 +Suppress lyrics. +.IP "\fB+M\fP" 10 +Include lyrics (default). +.IP "\fB-m \fIlength\fR\fP" 10 +Set the left margin to +\fIlength\fR (default: 1.8cm) +.IP "\fB-N\fI[mode]\fR\fP" 10 +Number pages according to the +\fImode\fR: +.RS +.IP "\fB0\fP" 10 +no page numbers +.IP "\fB1\fP" 10 +page numbers at top left +of page +.IP "\fB2\fP" 10 +page numbers at top right +of page +.IP "\fB3\fP" 10 +page numbers at top left of +even-numbered pages, top right of odd-numbered +pages +.IP "\fB4\fP" 10 +page numbers at top right of +even-numbered pages, top left of odd-numbered +pages +.RE +.IP "" 10 +For compatibility, +\fB-N\fP is equivalent to +\fB-N2\fP (default: \fB-N0\fP). +.IP "\fB+N\fP" 10 +Equivalent to \fB-N0\fP (no page +numbering). +.IP "\fB-n\fP" 10 +Include notes and history from ABC tune `N:' fields. +.IP "\fB+n\fP" 10 +Omit notes and history from ABC tune `N:' fields +(default). +.IP "\fB-O \fIname\fR\fP" 10 +Define the output file name. By default, the output +file name is `Out.ps' for PostScript output and +`Out\fInnn\fR.eps' for EPS output (see +\fB-E\fP). If this option is given, the output +name will be \fIname\fR or +\fInamennn\fR.eps, respectively. If +\fIname\fR is `=', the output file name +will be the name of the ABC source file with the extension +`.ps' or `.eps'. If \fIname\fR is `-', +the output is written to stdout. +.IP "\fB+O\fP" 10 +Revert to the default output file name (`Out.ps' or +`Out\fInnn\fR.eps') +.IP "\fB-o\fP" 10 +Obsolete option; ignored. +.IP "\fB-P\fP" 10 +Obsolete option; ignored. +.IP "\fB-p\fP" 10 +Obsolete option; ignored. +.IP "\fB-Q\fP" 10 +Print tempo (metronome) indications (default). +.IP "\fB+Q\fP" 10 +Omit tempo (metronome) indications. +.IP "\fB-R\fP" 10 +Obsolete option; ignored. +.IP "\fB-S\fP" 10 +Obsolete option; ignored. +.IP "\fB-s \fIscale\fR\fP" 10 +Set the page scale factor to +\fIscale\fR. Note that the header and +footer are not scaled (default: 0.75). +.IP "\fB-T\fP" 10 +Obsolete option; ignored. +.IP "\fB-u\fP" 10 +Use implicit decorations as in +\fBabc2ps\fR (default: off) +.IP "\fB-V\fP" 10 +Output version number and quit. +.IP "\fB-v\fP" 10 +Obsolete option; ignored. +.IP "\fB-W \fIv\fR\fIp\fR\fP" 10 +Display a tin whistle tablature for the voice numbered +\fIv\fR, where +\fIv\fR is the internal voice number +that is incremented as new voices are encountered; it is +not the voice name. \fIp\fR is the +base pitch of the tin whistle. Up to four tablatures may +be defined, as in `\fB-W1c -W2Bb\fP'. +.IP "\fB+W\fP" 10 +Don't output tin whistle tablatures (default). +.IP "\fB-w \fIlength\fR\fP" 10 +Adjust the right margin such that the staff width is +\fIlength\fR (default: none) +.IP "\fB-x\fP" 10 +Include the `X:' tune number in the title. +.IP "\fB+x\fP" 10 +Do not include the `X:' tune number in the title +(default). +.SH "FORMATTING PARAMETERS" +.PP +The following formatting parameters can be used in format +files. They can also occur in ABC files when they are preceded +by \fB%%\fP, or as \fBI:\fP headers (even +in the middle of a music line). +.IP "\fBaligncomposer \fIint\fR\fP" 10 +Define where to display the composer field. A negative value +displays it flush-left, a value of zero centered, and a positive +value flush-right (default: 1). +.IP "\fBannotationfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the annotation font to +\fIfont\fR with size +\fIsize\fR (default: Helvetica 12) +.IP "\fBautoclef \fIboolean\fR\fP" 10 +Adjust the clefs when they are not defined in `K:' or +`V:' lines (default: 1). +.IP "\fBbarsperstaff \fIint\fR\fP" 10 +Try to typeset with \fIint\fR bars +per line (default: 0; command line: \fB-b\fP, +\fB+b\fP) +.IP "\fBbotmargin \fIlength\fR\fP" 10 +Set the bottom margin to +\fIlength\fR (default: 1cm) +.IP "\fBbstemdown \fIboolean\fR\fP" 10 +If this is set, the stem of the note on the middle of +the staff extends downwards. Otherwise it extends up or +down depending on the preceding note (default:0). +.IP "\fBcomposerfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the `composer' font to +\fIfont\fR with size +\fIsize\fR (default: Times-Italic 14) +.IP "\fBcomposerspace \fIlength\fR\fP" 10 +Set the vertical space before the composer name to +\fIlength\fR (Default: 0.2cm) +.IP "\fBcontinueall \fIboolean\fR\fP" 10 +If this is set to true, ignore the line breaks in a +tune (default: 0; command line: \fB-c\fP, +\fB+c\fP) +.IP "\fBdeco \fIname\fR \fIc_func\fR \fIps_func\fR \fIh\fR \fIwl\fR \fIwr\fR \fI[str]\fR\fP" 10 +Define a decoration. This is an experimental feature +which is subject to change in future releases. See the +files \fBformat.txt\fP and +\fBdeco.abc\fP for details. +.IP "\fBencoding \fIenc\fR\fP" 10 +Set the language encoding to +ISO-Latin-\fIenc\fR, where +\fIenc\fR can take values from 0 to +6. The value 0 is the same as 1, but no PostScript +encoding table is output. + +.IP "" 10 +Alternatively, \fIenc\fR may take +one of the predefined values \fBus-ascii\fP, +\fBiso-8859-1\fP, \fBiso-8859-2\fP, +\fBiso-8859-3\fP, \fBiso-8859-4\fP, +\fBiso-8859-9\fP, \fBiso-8859-10\fP, +or \fBnative\fP (meaning encoding vectors will +not be changed). If \fIenc\fR is anything +else, it must be a string which is taken to be PostScript +commands that set up a suitable encoding vector. +.IP "\fBexprabove \fIboolean\fR\fP" 10 +Draw expression decorations above the staff. If +neither \fBexprabove\fP nor +\fBexprbelow\fP are `true', expression +decorations are drawn above the staff if there are lyrics +on the staff, and below +otherwise. \fBexprabove\fP takes precedence +over \fBexprbelow\fP (default: 0). +.IP "\fBexprbelow \fIboolean\fR\fP" 10 +Draw expression decorations below the staff. If +neither \fBexprabove\fP nor +\fBexprbelow\fP are `true', expression +decorations are drawn above the staff if there are lyrics +on the staff, and below +otherwise. \fBexprabove\fP takes precedence +over \fBexprbelow\fP (default: 0). +.IP "\fBflatbeams \fIboolean\fR\fP" 10 +Draw flat beams in bagpipe tunes (default: 0; command +line: \fB-f\fP) +.IP "\fBfont \fIfont\fR [\fIencoding\fR]\fP" 10 +Define a font and its encoding. Use this parameter +when you want to refer to specific fonts in ABC +files/tunes. It must occur before any PostScript output is +written, generally in a format +file. \fIencoding\fR defaults to the +encoding set up by the \fBencoding\fP parameter. + +.IP "\fBfooter \fItext\fR\fP" 10 +Define the text printed at the bottom of every +page. There may be one or two lines. When there are two +lines, these must be separated by the characters `\n' (not +a real newline). Each of the lines consists of three +areas, left, center and right, which are separated by tabs +(real tabs, not '\t') and may be empty - if the left area +is empty, the \fItext\fR must be +quoted. +.IP "" 10 +The `$' character introduces variable +expansion: +.RS +.IP "\fB$D\fP" 10 +The current date and time +.IP "\fB$F\fP" 10 +The current input file name +.IP "\fB$P\fP" 10 +The current page number +.IP "\fB$P0\fP" 10 +The current pagenumber (when even) +.IP "\fB$P1\fP" 10 +The current pagenumber (when odd) +.IP "\fB$T\fP" 10 +The current tune title +.IP "\fB$V\fP" 10 +`abcm2ps-' followed by the program's +version number +.RE +.IP "" 10 +For example, the command line option +\fB-N3\fP is equivalent to `%%header "$P0 $P1"' +(note the two tabs). (Default: none) +.IP "\fBfooterfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the footer font to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 12) +.IP "\fBfreegchord \fIboolean\fR\fP" 10 +Prevent the characters `#', `b' and `=' to be +displayed as the sharp sign, the flat sign, and the +natural sign, respectively, in guitar chords. When this +flag is set, the display of the accidentals may be forced +by escaping the characters (`\#', `\b' and `\=') (default: +0) +.IP "\fBgchordbox \fIboolean\fR\fP" 10 +Draw a box around guitar chords. Can be set to +`true' using `%%gchordfont' below. (Default: 0) +.IP "\fBgchordfont \fIfont\fR [\fIencoding\fR] \fIsize\fR [box]\fP" 10 +Set the guitar chord font to +\fIfont\fR with size +\fIsize\fR. If \fBbox\fP is specified, draw a box around guitar chords +(default: Helvetica 12, no box) +.IP "\fBgraceslurs \fIboolean\fR\fP" 10 +Draw slurs on grace notes if true (default: 1; command +line: \fB-G\fP, \fB+G\fP) +.IP "\fBhalfbeam \fIboolean\fR\fP" 10 +If true, sequences of 1/32 (or shorter) notes will be beamed +in groups, with a single beam leading from one group to +the next. The groups will be sized to make up 1/8 note, +i.e., 4 1/32 notes or 8 1/64 notes. (default: 1) +.IP "\fBheader \fItext\fR\fP" 10 +Define the text printed at the top of every page. See +the \fBfooter\fP parameter above for the syntax +(default: none) +.IP "\fBheaderfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the header font to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 12) +.IP "\fBindent \fIlength\fR\fP" 10 +Indent the first line of a tune by +\fIlength\fR (default:0; command +line: \fB-I\fP) +.IP "\fBinfofont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the information line font to +\fIfont\fR with size +\fIsize\fR (default: Times-Italic 14) +.IP "\fBinfoline \fIboolean\fR\fP" 10 +Display the rhythm (`R:') and the origin of the tune +(`O:') on a single `information line' (default: 0) +.IP "\fBinfospace \fIlength\fR\fP" 10 +Set the vertical space before the information line to +\fIlength\fR (default: 0). +.IP "\fBlandscape \fIboolean\fR\fP" 10 +Set page orientation to landscape if true (default: 0; +command line: \fB-l\fP, \fB+l\fP). +.IP "\fBleftmargin \fIlength\fR\fP" 10 +Set the left margin to +\fIlength\fR (default: 1.8cm; command +line: \fB-m\fP) +.IP "\fBlineskipfac \fIfloat\fR\fP" 10 +Set the factor for spacing between lines of text to +\fIfloat\fR times the font size +(default: 1.1) +.IP "\fBmaxshrink \fIfloat\fR\fP" 10 +Set how much the output may be compressed horizontally +when staff breaks are chosen +automatically. \fIfloat\fR must be +between 0 and 1 (default: 0.65; command line: +\fB-a\fP) +.IP "\fBmaxstaffsep \fIlength\fR\fP" 10 +Set the maximum vertical inter-staff space to \fIlength\fR (default: 800pt) +.IP "\fBmaxsysstaffsep \fIlength\fR\fP" 10 +Set the maximum vertical system inter-staff space to \fIlength\fR (default: 800pt) +.IP "\fBmeasurebox \fIboolean\fR\fP" 10 +Draw a box around the measure numbers if true +(default: 0; command line: \fB-j\fP or +\fB-k\fP). +.IP "\fBmeasurefirst \fIint\fR\fP" 10 +Start measure numbering of the tune at +\fIint\fR. If the measure number needs +to be changed inside a tune, use \fB%%setbarnb\fP (default: 1; command line: \fB-b\fP) +.IP "\fBmeasurefont \fIfont\fR [\fIencoding\fR] \fIsize\fR [box]\fP" 10 +Set the font for measure numbers to +\fIfont\fR at size +\fIsize\fR. If +[box] is specified, draw a box around +the measure number (default: Times-Italic 14, no box). +.IP "\fBmeasurenb \fIint\fR\fP" 10 +Draw a measure number every +\fIint\fR bars. If +\fIint\fR is 0, the measure number +appears at the left end of each staff. If +\fIint\fR is -1, no measure numbers +are displayed at all (default: -1; command line: +\fB-j\fP or +\fB-k\fP). +.IP "\fBmusiconly \fIboolean\fR\fP" 10 +If true, no lyrics are output (default: 0; command +line: \fB-M\fP, \fB+M\fP) +.IP "\fBmusicspace \fIlength\fR\fP" 10 +Set the vertical space before the first staff of a +tune to \fIlength\fR (default: +0.2cm) +.IP "\fBnotespacingfactor \fIfloat\fR\fP" 10 +Set the note spacing factor to +\fIfloat\fR. This value is used to +compute the natural space notes take up. The base space of +the crotchet (quarter note) is always 40pt. When the +duration of a note type is twice that of another note +type, the space it takes up is multiplied by this +factor. The default value increases the note space by a +factor of 2 when the corresponding note's value increases +by a factor of 4. That is, the space of a semibreve is +80pt and that of a semiquaver is 20pt. Setting this value +to 1 sets all note spaces to 40pt (default: 1.414). +.IP "\fBoneperpage \fIboolean\fR\fP" 10 +If true, output one tune per page; if false, multiple +tunes are output per page if there is sufficient room +(default: 0; command line: \fB-1\fP, +\fB+1\fP). +.IP "\fBpageheight \fIlength\fR\fP" 10 +Set the page height to +\fIlength\fR (default: hardcoded) +.IP "\fBpagewidth \fIlength\fR\fP" 10 +Set the page width to +\fIlength\fR (default: +hardcoded) +.IP "\fBparskipfac \fIfloat\fR\fP" 10 +Set the factor for spacing between parts of a tune to +\fIfloat\fR +(default: 0.4) +.IP "\fBpartsbox \fIboolean\fR\fP" 10 +Draw a box around the part names if true (default: 0) +.IP "\fBpartsfont \fIfont\fR [\fIencoding\fR] \fIsize\fR [box]\fP" 10 +Set the font for part names to +\fIfont\fR with size +\fIsize\fR. If \fBbox\fP is specified, draw a box around the part names. +(default: Times-Roman 15) +.IP "\fBpartsspace \fIlength\fR\fP" 10 +Set the vertical space before a new part to +\fIlength\fR (default: 0.3cm). +.IP "\fBpostscript \fItext\fR\fP" 10 +Define a postscript sequence to be included in the +header of the output file. This formatting parameter may +be used to override any postscript function or to define +new functions for use in \fBdeco\fP. It should +be processed before any output occurs, that is, in a +format file or at the beginning of the first ABC file. +.IP "\fBprintparts \fIboolean\fR\fP" 10 +Print the part indications (`P:' header) (default: 1). +.IP "\fBprinttempo \fIboolean\fR\fP" 10 +Print tempo (metronome) indications (`Q:' header) if +true (default: 1; command line: \fB-Q\fP, +\fB+Q\fP). +.IP "\fBpslevel \fIint\fR\fP" 10 +Define the PostScript language level for output. Allowable +values are 1, 2, or 3.(default: 2). +.IP "\fBrepeatfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for repeat bracket numbers/texts to +\fIfont\fR at size +\fIsize\fR. +.IP "\fBrightmargin \fIlength\fR\fP" 10 +Set the right margin to +\fIlength\fR (default: 1.8cm) +.IP "\fBscale \fIfloat\fR\fP" 10 +Set the global page scale factor to +\fIfloat\fR. This does not apply to +headers and footers (default: 0.75; command line: +\fB-s\fP). +.IP "\fBsetfont-1 \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +.IP "\fBsetfont-2 \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +.IP "\fBsetfont-3 \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +.IP "\fBsetfont-4 \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set up alternate fonts for strings. In most strings, +you can switch to one of the alternate fonts using +\fB$1\fP..\fB$4\fP; \fB$0\fP switches back to the default value for that string. +(default: Times-Roman 0) + +.IP "\fBshifthnote \fIboolean\fR\fP" 10 +Usually in multi-voice tunes, when two voices are in unison +and one has a half note and the other a note shorter than a +quarter note, there is only one note head (the half note). If +this flag is set, both heads are displayed (one is shifted). +(default: 0) +.IP "\fBslurheight \fIfloat\fR\fP" 10 +Set the slur height factor to +\fIfloat\fR (default: 1.0). +.IP "\fBsplittune \fIboolean\fR\fP" 10 +If false, a tune is output on a new page if it doesn't +fit on the one currently being output. If true, a tune may +be split across page breaks (default: 0; command line: +\fB-0\fP, \fB+0\fP). +.IP "\fBsquarebreve \fIboolean\fR\fP" 10 +If true, display breve notes in a square shape +(default: 0) +.IP "\fBstaffsep \fIlength\fR\fP" 10 +Set the vertical inter-staff space to +\fIlength\fR (default: 46pt; command +line: \fB-d\fP) +.IP "\fBstaffwidth \fIlength\fR\fP" 10 +Set the right margin such that the staff width is +\fIlength\fR (default: none - but see +\fBpaperwidth\fP and \fBrightmargin\fP). +.IP "\fBstraightflags \fIboolean\fR\fP" 10 +If true, use straight flags on stems in bagpipe tunes +(default: 0) +.IP "\fBstretchlast \fIboolean\fR\fP" 10 +If true, stretch the last staff of a tune to fill the +whole line even though it may be underfull (default: 0) +.IP "\fBstretchstaff \fIboolean\fR\fP" 10 +If true, stretch all underfull staves to fill the +whole line (default: 1) +.IP "\fBsubtitlefont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for subtitles (second and subsequent `T:' +headers in a tune) to \fIfont\fR with +size \fIsize\fR (default: Times-Roman +16) +.IP "\fBsubtitlespace \fIlength\fR\fP" 10 +Set the vertical space before subtitles (second and +subsequent `T:' headers in a tune) to +\fIlength\fR (default: 0.1cm). +.IP "\fBsysstaffsep \fIlength\fR\fP" 10 +Set the vertical system interstaff space to +\fIlength\fR (default: 36pt). +.IP "\fBtempofont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for tempo (metronome) indications to +\fIfont\fR with size +\fIsize\fR (default: Times-Bold 15) +.IP "\fBtextfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the text font to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 16) +.IP "\fBtextspace \fIlength\fR\fP" 10 +Set the vertical space before text blocks to +\fIlength\fR (default: 0.5cm). +.IP "\fBtitlecaps \fIboolean\fR\fP" 10 +If true, output the tune title in uppercase letters +(default: 0) +.IP "\fBtitlefont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the title font to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 20) +.IP "\fBtitleleft \fIboolean\fR\fP" 10 +If true, output the tune title flush left (instead of +centered) (default: 0) +.IP "\fBtitlespace \fIlength\fR\fP" 10 +Set the vertical space before the tune title to +\fIlength\fR (default: 0.2cm). +.IP "\fBtopmargin \fIlength\fR\fP" 10 +Set the top margin to +\fIlength\fR (default: 1cm) +.IP "\fBtopspace \fIlength\fR\fP" 10 +Set the vertical space at the top of a tune to +\fIlength\fR (default: 0.8cm) +.IP "\fBtuplets \fIwhen\fR \fIwhat\fR \fIvalue\fR\fP" 10 +Define how to draw tuplets. The \fIwhen\fR parameter can be \fB0\fP (to decide +automatically whether to draw a slur or bracket over the +tuplet), \fB1\fP (to never draw one) or +\fB2\fP (to always draw one). The +\fIwhat\fR parameter defines what to +draw: \fB0\fP means a bracket, +\fB1\fP a slur; \fB2\fP extends +beams across rests. The \fIvalue\fR parameter defines how to annotate the tuplet: +\fB0\fP means to write a simple number +(\fIp\fR), \fB1\fP writes +nothing, and \fB2\fP writes a ratio +(\fIp\fR:\fIq\fR). + +.IP "\fBvocalabove \fIboolean\fR\fP" 10 +If true, output lyrics above the staff (instead of +below it) (default: 0.8cm) +.IP "\fBvocalfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for lyrics inside a tune to +\fIfont\fR with size +\fIsize\fR (default: Times-Bold 13) +.IP "\fBvocalspace \fIlength\fR\fP" 10 +Set the vertical space between a staff and its lyrics to +\fIlength\fR (default: 23pt) +.IP "\fBvoicefont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for voice names (default: Times-Bold 13). +.IP "\fBwithxrefs \fIboolean\fR\fP" 10 +If true, print the number from the `X:' header in the +tune title (default: 0; command line: \fB-x\fP, +\fB+x\fP) +.IP "\fBwordsfont \fIfont\fR [\fIencoding\fR] \fIsize\fR\fP" 10 +Set the font for lyrics at the end of a tune to +\fIfont\fR with size +\fIsize\fR (default: Times-Roman 16) +.IP "\fBwordsspace \fIlength\fR\fP" 10 +Set the vertical space before the end-of-tune lyrics to +\fIlength\fR (default: 0.5cm) +.IP "\fBwritehistory \fIboolean\fR\fP" 10 +If true, output notes and history (`N:' and `H:' +headers) (default: 0; command line: \fB-n\fP, +\fB+n\fP) +.PP +The following formatting parameters can only occur inside +tunes and not in a format file: +.IP "\fB%%begintext [\fImode\fR]\fP" 10 +Start printing a free-form text. The text to be +printed appears on the subsequent lines of the the input +file up to a line containing \fB%%endtext\fP. +The text lines may start with \fB%%\fP. +.IP "" 10 +The \fIparameter\fR may +be: +.RS +.IP "\fBobeylines\fP" 10 +Line breaks in the input file are kept (default) +.IP "\fBalign\fP or \fBjustify\fP" 10 +Lines are justified +.IP "\fBragged\fP or \fBfill\fP" 10 +Line breaks are ignored but output is +left-justified +.IP "\fBskip\fP" 10 +The text lines are not printed at all +.RE +.IP "\fB%%center \fItext\fR\fP" 10 +Print one line of centered text +.IP "\fB%%EPS \fIfilename\fR\fP" 10 +Include \fIfilename\fR as an EPS +file +.IP "\fB%%endtext\fP" 10 +Finish a block of free text started by +\fB%%begintext\fP +.IP "\fB%%multicol \fIcommand\fR\fP" 10 +Define multicolumn +printing. \fIcommand\fR may be: +.RS +.IP "\fBstart\fP" 10 +Save the current vertical position and left +and right margins. These margins may then be changed +to print music or text. +.IP "\fBnew\fP" 10 +Reset the vertical position to the place of the +previous \fBstart\fP and restore the left +and right margins. These can then be changed again +to display another column. +.IP "\fBend\fP" 10 +Restore the left and right margins and skip down +the page to a `safe place'. +.RE +.IP "\fB%%newpage [\fIint\fR]\fP" 10 +Start a new page, restarting page numbering from +\fIint\fR if applicable. +.IP "\fB%%repbra \fIint\fR\fP" 10 +Repetition brackets are normally displayed as written in a +voice. \fB%%repbra 0\fP suppresses them for the +current voice. +.IP "\fB%%sep [\fIh1\fR \fIh2\fR \fIlength\fR]\fP" 10 +Print a separator (line) of length +\fIlength\fR with vertical space +\fIh1\fR above and +\fIh2\fR below (defaults: +\fIh1\fR and +\fIh2\fR: 0.5cm; +\fIlength\fR: 3cm) +.IP "\fB%%setbarnb \fIint\fR\fP" 10 +Set the measure number to \fIint\fR. +When not inside a tune body, this is equivalent to +\fB%%measurefirst\fP. +.IP "\fB%%staff \fInum\fR\fP" 10 +Put the following material on staff +\fInum\fR. This will lead, e.g., +to beams between notes in different staffs. Useful for +keyboard music; see, for example, +\fBsample4.abc\fP. +.IP "\fB%%staffbreak \fIlength\fR\fP" 10 +Leave a space of \fIlength\fR in +the current staff. If \fIlength\fR is +greater than 0.5cm, the left side of the staff (system) is +redrawn. In a multi-voice tune, a staff break must be +specified in each voice. +.IP "\fB%%staves \fIdefinition\fR\fP" 10 +See below. +.IP "\fB%%text \fItext\fR\fP" 10 +Output a single line of text. +.IP "\fB%%vskip \fIlength\fR\fP" 10 +Leave vertical space of height +\fIlength\fR +.SH "ADDITIONAL FEATURES" +.SS "Clefs" +.PP +Clefs can be given in \fBK:\fP and +\fBV:\fP headers. The full syntax is + +.PP +.nf +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +[\fBclef=\fP]\fItype\fR[\fIline\fR][\fB+8\fP|\fB-8\fP] [\fBmiddle=\fP\fIpitch\fR] +.fi + +.PP +The `\fBclef=\fP' can be omitted when the +\fItype\fR is a clef name. + +.PP +\fItype\fR denotes the clef type. It may +be: + +.IP "A note pitch (\fBG\fP, \fBC\fP, or \fBF\fP)" 10 +The pitch indicates which clef is meant: +\fBG\fP is the treble clef, +\fBC\fP the alto clef and +\fBF\fP the bass clef. It also gives the +name of the note that appears on the clef's line. +.IP "A clef name" 10 +The available clef names are +\fBtreble\fP (clef gives the pitch for +\fBG\fP), \fBalto\fP or +\fBtenor\fP (\fBC\fP), and +\fBbass\fP (\fBF\fP) +.IP "\fBnone\fP" 10 +No clef will be displayed. +.PP +The \fIline\fR gives the number of the +line within the staff that the base clef will be written +on. The default values are 2 for the treble clef, 3 for the +alto clef, and 4 for the tenor and bass clefs. + +.PP +The \fB+8\fP and \fB-8\fP options +draw an 8 above or below the staff, respectively. +`\fBmiddle=\fP\fIpitch\fR' +(or `\fBm=\fP\fIpitch\fR', +for short) is an alternative way of defining the line number +of the clef: +The \fIpitch\fR indicates what note will be +displayed on the middle line of the staff. +.PP +When no clef is specified, clef changes between +\fBbass\fP and \fBtreble\fP will be +inserted automatically. + +.SS "Multi-voice typesetting" +.PP +Multiple voices may be defined within the header or the +tune using + +.PP +.nf +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +\fBV:\fP\fIname\fR \fIdefinition\fR ... + +.fi +.PP +where \fIname\fR is a word consisting of +letters and digits only (like \fBviolin1\fP). In +the tune body, the following notes refer to this voice until +another \fBV:\fP is encountered. A +\fIdefinition\fR can be one of: + +.IP "\fBclef=\fP..." 10 +See above +.IP "\fBname=\fP\fIname\fR or \fBnm=\fP\fIname\fR" 10 +The \fIname\fR will be +displayed at the beginning of the first staff. It can +contain the \fB\n\fP sequence which will +force a line break. If it contains whitespace it must be +double-quoted. +.IP "\fBsubname=\fP\fIname\fR or \fBsnm=\fP\fIname\fR" 10 +The \fIname\fR will be +displayed at the beginning of all staves except for the +first. It can +contain the \fB\n\fP sequence which will +force a line break. If it contains whitespace it must be +double-quoted. +.IP "\fBmerge\fP" 10 +The voice goes on the same staff as the previous +voice. +.IP "\fBup\fP or \fBdown\fP" 10 +Forces the direction of the stems for the voice. All other definitions are ignored. + +.PP +By default, each voice goes on its own staff. The `%%staves +\fIdefinition\fR' +pseudo-comment can be used to control staff assignment. The +\fIdefinition\fR consists of voice names +(from \fBV:\fP) and pairs of parentheses, braces +or brackets. + +.IP " \(bu" 6 +When a voice name is not within a pair of special +characters, it goes on a separate staff. +.IP " \(bu" 6 +For voice names enclosed in brackets, a bracket is +displayed at the beginning of each line that joins the +staves of the voices in question. +.IP " \(bu" 6 +For voice names enclosed in braces, all the voices +go on two staves (keyboard score). There can be at most +four voices between a single pair of braces. +.IP " \(bu" 6 +For voice names enclosed in parentheses, all the +voices appear on a single staff. +.PP +The `\fB|\fP' character prevents measure bars from +being drawn between two staves. +.PP +If `%%staves' occurs in a tune, all the voices not mentioned +will not be output at all. +.SS "Voice overlay" +.PP +You can add notes to a staff without introducing a +complete extra voice by using the ampersand (\fB&\fP). +A single measure can be split into two voices like + +.PP +.nf +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +|F2A2Bc&F2c2bc| + +.fi +.PP +The \fB(&...&...)\fP construction +allows splitting multiple measures: + +.PP +.nf +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +|!f!(&GG for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document as long +as its origin is not misrepresented. +.\" created by instant / docbook-to-man, Fri 21 May 2004, 11:43 --- abcm2ps-4.5.0.orig/Out.ps +++ abcm2ps-4.5.0/Out.ps @@ -0,0 +1,951 @@ +%!PS-Adobe-3.0 +%%Title: /tmp/hbtest.abc +%%Creator: abcm2ps-4.0.8 +%%CreationDate: Jan 22, 2004 12:08 +%%Pages: (atend) +%%LanguageLevel: 2 +%%EndComments +%CommandLine: /tmp/hbtest.abc + +%%BeginSetup +/!{bind def}bind def +/bdef{bind def}! +/T/translate load def +/M/moveto load def +/RM/rmoveto load def +/RL/rlineto load def +/RC/rcurveto load def +/dlw{0.7 setlinewidth}! +/mkfontext{ + findfont dup length dict begin + {1 index /FID ne {def}{pop pop} ifelse} forall + /Encoding ISOLatin1Encoding def + currentdict + end + definefont pop}! +/Times-Roman-ISO /Times-Roman mkfontext +/F0{dup 0.8 mul /fh exch def /Times-Roman-ISO exch selectfont}! +/Times-Italic-ISO /Times-Italic mkfontext +/F1{dup 0.8 mul /fh exch def /Times-Italic-ISO exch selectfont}! +/Times-Bold-ISO /Times-Bold mkfontext +/F2{dup 0.8 mul /fh exch def /Times-Bold-ISO exch selectfont}! +/Helvetica-ISO /Helvetica mkfontext +/F3{dup 0.8 mul /fh exch def /Helvetica-ISO exch selectfont}! +/xymove{2 copy /y exch def /x exch def M}! +/cshow{dup stringwidth pop 2 div neg 0 RM show}! +/lshow{dup stringwidth pop neg 0 RM show}! +/showb{ dup currentpoint 3 -1 roll show + 0.6 setlinewidth + exch 2 sub exch 3 sub 3 -1 roll + stringwidth pop 4 add fh 4 add rectstroke}! +/wln{M 0.8 setlinewidth 0 RL stroke}! +/whf{3 add 3 3 1 roll wln}! +/tclef{ M + -1.9 3.7 RM + -3.3 1.9 -3.1 6.8 2.4 8.6 RC + 7 0 9.8 -8 4.1 -11.7 RC + -5.2 -2.4 -12.5 0 -13.3 6.2 RC + -0.7 6.4 4.15 10.5 10 15.3 RC + 4 4 3.6 6.1 2.8 9.6 RC + -2.3 -1.5 -4.7 -4.8 -4.5 -8.5 RC + 0.8 -12.2 3.4 -17.3 3.5 -26.3 RC + 0.3 -4.4 -1.2 -6.2 -3.8 -6.2 RC + -3.7 -0.1 -5.8 4.3 -2.8 6.1 RC + 3.9 1.9 6.1 -4.6 1.4 -4.8 RC + 0.7 -1.2 4.6 -0.8 4.2 4.2 RC + -0.2 10.3 -3 15.7 -3.5 28.3 RC + 0 4.1 0.6 7.4 5 10.6 RC + 2.3 -3.2 2.9 -10 1 -12.7 RC + -2.4 -4.3 -11.5 -10.3 -11.8 -15 RC + 0.4 -7 6.9 -8.5 11.7 -6.1 RC + 3.9 3 1.3 8.8 -3.7 8.1 RC + -4 -0.2 -4.8 -3.1 -2.7 -5.7 RC + fill}! +/stclef{exch 0.85 div exch 0.85 div gsave 0.85 dup scale tclef grestore}! +/octu{/Times-Roman 12 selectfont M -1.5 34 RM (8) show}! +/octl{/Times-Roman 12 selectfont M -3.5 -19 RM (8) show}! +/bclef{ M + -8.8 3.5 RM + 6.3 1.9 10.2 5.6 10.5 10.8 RC + 0.3 4.9 -0.5 8.1 -2.6 8.8 RC + -2.5 1.2 -5.8 -0.7 -5.9 -4.1 RC + 1.8 3.1 6.1 -0.6 3.1 -3 RC + -3 -1.4 -5.7 2.3 -1.9 7 RC + 2.6 2.3 11.4 0.6 10.1 -8 RC + -0.1 -4.6 -5 -10.2 -13.3 -11.5 RC + 15.5 17 RM + 0 1.5 2 1.5 2 0 RC + 0 -1.5 -2 -1.5 -2 0 RC + 0 -5.5 RM + 0 1.5 2 1.5 2 0 RC + 0 -1.5 -2 -1.5 -2 0 RC + fill}! +/sbclef{exch 0.85 div exch 0.85 div gsave 0.85 dup scale 0 3 T bclef grestore}! +/cchalf{0 0 M 0 12 RM + 2.6 5 RL + 2.3 -5.8 5.2 -2.4 4.7 1.6 RC + 0.4 3.9 -3 6.7 -5.1 4 RC + 4.1 0.5 0.9 -5.3 -0.9 -1.4 RC + -0.5 3.4 6.5 4.3 7.8 -0.8 RC + 1.9 -5.6 -4.1 -9.8 -6 -5.4 RC + -1.6 -3 RL + fill}! +/cclef{ gsave T + cchalf 0 24 T 1 -1 scale cchalf + -5.5 0 M 0 24 RL 3 0 RL 0 -24 RL fill + -0.5 0 M 0 24 RL 0.7 setlinewidth stroke grestore}! +/scclef{exch 0.85 div exch 0.85 div gsave 0.85 dup scale + 2 add cclef grestore}! +/pclef{ M 1.4 setlinewidth -2.7 2 RM + 0 20 RL 5.4 0 RL 0 -20 RL -5.4 0 RL stroke}! +/spclef{pclef}! +/bm{ M 3 copy RL neg 0 exch RL + neg exch neg exch RL 0 exch RL fill}! +/bnum{M /Times-Italic 12 selectfont cshow}! +/hbr{M dlw lineto 0 -3 RL stroke}! +/r00{ xymove + -1 6 RM 0 -12 RL 3 0 RL 0 12 RL fill}! +/r0{ xymove + -1 6 RM 0 -6 RL 3 0 RL 0 6 RL fill}! +/r1{ xymove + -3 6 RM 0 -3 RL 7 0 RL 0 3 RL fill}! +/r2{ xymove + -3 0 RM 0 3 RL 7 0 RL 0 -3 RL fill}! +/r4{ xymove + -0.5 8.9 RM + 1.3 -3.4 RL + -2 -4.5 RL + 3.1 -4.8 RL + -3.2 3.5 -5.8 -1.4 -1.4 -3.8 RC + -1.9 2 -0.8 5 2.4 2.6 RC + -2.2 4.2 RL + 0 0 2 4.7 2.1 4.7 RC + -3.3 5 RL + fill}! +/r8e{ -1.5 -1.5 -2.4 -2 -3.6 -2 RC + 2.4 2.8 -2.8 4 -2.8 1.2 RC + 0 -2.7 4.3 -2.4 5.9 -0.6 RC + fill}! +/r8{ xymove + 0.5 setlinewidth 3.3 4 RM + -3.4 -9.6 RL stroke + x y M 3.4 4 RM r8e}! +/r16{ xymove + 0.5 setlinewidth 3.3 4 RM + -4 -15.6 RL stroke + x y M 3.4 4 RM r8e + x y M 1.9 -2 RM r8e}! +/r32{ xymove + 0.5 setlinewidth 4.8 10 RM + -5.5 -21.6 RL stroke + x y M 4.9 10 RM r8e + x y M 3.4 4 RM r8e + x y M 1.9 -2 RM r8e}! +/r64{ xymove + 0.5 setlinewidth 4.8 10 RM + -7 -27.6 RL stroke + x y M 4.9 10 RM r8e + x y M 3.4 4 RM r8e + x y M 1.9 -2 RM r8e + x y M 0.3 -8 RM r8e}! +/dt{y add M currentpoint 1.2 0 360 arc fill}! +/hld{ 1.5 add 2 copy 1.5 add M currentpoint 1.3 0 360 arc + M -7.5 0 RM + 0 11.5 15 11.5 15 0 RC + -0.25 0 RL + -1.25 9 -13.25 9 -14.5 0 RC + fill}! +/dnb{ dlw M -3.2 2 RM + 0 7.2 RL + 6.4 0 RM + 0 -7.2 RL + currentpoint stroke M + -6.4 4.8 RM + 0 2.4 RL + 6.4 0 RL + 0 -2.4 RL + fill}! +/upb{ dlw M -2.6 9.4 RM + 2.6 -8.8 RL + 2.6 8.8 RL + stroke}! +/grm{ M -5 2.5 RM + 5 8.5 5.5 -4.5 10 2 RC + -5 -8.5 -5.5 4.5 -10 -2 RC fill}! +/stc{M currentpoint 1.2 0 360 arc fill}! +/emb{ 1.2 setlinewidth 1 setlinecap M + -2.5 0 RM 5 0 RL stroke 0 setlinecap}! +/cpu{ M -6 0 RM + 0.4 7.3 11.3 7.3 11.7 0 RC + -1.3 6 -10.4 6 -11.7 0 RC fill}! +/sld{ M -7.2 -4.8 RM + 1.8 -0.7 4.5 0.2 7.2 4.8 RC + -2.1 -5 -5.4 -6.8 -7.6 -6 RC fill}! +/trl{ /Times-BoldItalic 16 selectfont + M -4 2 RM (tr) show}! +/umrd{ 4 add M + 2.2 2.2 RL 2.1 -2.9 RL 0.7 0.7 RL + -2.2 -2.2 RL -2.1 2.9 RL -0.7 -0.7 RL + -2.2 -2.2 RL -2.1 2.9 RL -0.7 -0.7 RL + 2.2 2.2 RL 2.1 -2.9 RL 0.7 0.7 RL fill}! +/lmrd{ 2 copy umrd 8 add M + 0.6 setlinewidth 0 -8 RL stroke}! +/fng{/Bookman-Demi 8 selectfont M -3 1 RM show}! +/dacs{/Times-Roman 16 selectfont 3 add M cshow}! +/brth{/Times-BoldItalic 30 selectfont 6 add M (,) show}! +/pf{/Times-BoldItalic 16 selectfont 5 add M cshow}! +/sfz{ exch 4 sub exch 5 add M pop + /Times-Italic 14 selectfont (s) show + /Times-BoldItalic 16 selectfont (f) show + /Times-Italic 14 selectfont (z) show}! +/coda{ 1 setlinewidth 2 add 2 copy M 0 20 RL + 2 copy 10 add exch -10 add exch M 20 0 RL stroke + 10 add 6 0 360 arc 1.7 setlinewidth stroke}! +/sgno{ M 0 3 RM currentpoint currentpoint currentpoint + 1.5 -1.7 6.4 0.3 3 3.7 RC + -10.4 7.8 -8 10.6 -6.5 11.9 RC + 4 1.9 5.9 -1.7 4.2 -2.6 RC + -1.3 -0.7 -2.9 1.3 -0.7 2 RC + -1.5 1.7 -6.4 -0.3 -3 -3.7 RC + 10.4 -7.8 8 -10.6 6.5 -11.9 RC + -4 -1.9 -5.9 1.7 -4.2 2.6 RC + 1.3 0.7 2.9 -1.3 0.7 -2 RC + fill + M 0.8 setlinewidth -6 1.2 RM 12.6 12.6 RL stroke + 7 add exch -6 add exch 1.2 0 360 arc fill + 8 add exch 6 add exch 1.2 0 360 arc fill}! +/cresc{ 1.2 setlinewidth M dup 6 RM + dup neg 4 RL 4 RL stroke}! +/dim{ 1.2 setlinewidth 6 add M + dup 4 RL neg 4 RL stroke}! +/dplus{ 1.2 setlinewidth 0.5 add M 0 6 RL + -3 -3 RM 6 0 RL stroke}! +/accent{1.2 setlinewidth M -4 2 RM + 8 2 RL -8 2 RL stroke}! +/turn{ M 5.2 8 RM + 1.4 -0.5 0.9 -4.8 -2.2 -2.8 RC + -4.8 3.5 RL + -3 2 -5.8 -1.8 -3.6 -4.4 RC + 1 -1.1 2 -0.8 2.1 0.1 RC + 0.1 0.9 -0.7 1.2 -1.9 0.6 RC + -1.4 0.5 -0.9 4.8 2.2 2.8 RC + 4.8 -3.5 RL + 3 -2 5.8 1.8 3.6 4.4 RC + -1 1.1 -2 0.8 -2.1 -0.1 RC + -0.1 -0.9 0.7 -1.2 1.9 -0.6 RC + fill}! +/turnx{ 2 copy turn M + 0.6 setlinewidth 0 1.5 RM 0 9 RL stroke}! +/lphr{1.2 setlinewidth M 0 -18 RL stroke}! +/mphr{1.2 setlinewidth M 0 -12 RL stroke}! +/sphr{1.2 setlinewidth M 0 -6 RL stroke}! +/ltr{ gsave 4 add T + 0 6 3 -1 roll{ + 0 1 1{ + 0 0.4 M + 2 1.9 3.4 2.3 3.9 0 curveto + 2.1 0 lineto + 1.9 0.8 1.4 0.7 0 -0.4 curveto + fill + pop 180 rotate -6 0 translate + } for + pop 6 0 translate + } for + grestore}! +/arp{gsave 90 rotate exch neg ltr grestore}! +/wedge{1 add M -1.5 5 RL 3 0 RL -1.5 -5 RL fill}! +/opend{dlw M currentpoint 3 add 2.5 -90 270 arc stroke}! +/snap{ dlw M currentpoint -3 6 RM + 0 5 6 5 6 0 RC + 0 -5 -6 -5 -6 0 RC + 5 add M 0 -6 RL stroke}! +/thumb{ dlw M currentpoint -2.5 7 RM + 0 6 5 6 5 0 RC + 0 -6 -5 -6 -5 0 RC + 2 add M 0 -4 RL stroke}! +/hl{ 0.8 setlinewidth x -6 add exch M + 12 0 RL stroke}! +/hl1{ 0.8 setlinewidth x -7 add exch M + 14 0 RL stroke}! +/sh0{ gsave T 0.9 setlinewidth + -1.2 -8.4 M 0 15.4 RL + 1.4 -7.2 M 0 15.4 RL stroke + -2.6 -3 M 5.4 1.6 RL 0 -2.2 RL -5.4 -1.6 RL 0 2.2 RL fill + -2.6 3.4 M 5.4 1.6 RL 0 -2.2 RL -5.4 -1.6 RL 0 2.2 RL fill + grestore}! +/sh{y sh0}! +/ft0{ gsave T 0.8 setlinewidth + -1.8 2.5 M + 6.4 3.3 6.5 -3.6 0 -6.6 RC + 4.6 3.9 4.5 7.6 0 5.7 RC + currentpoint fill M + 0 7.1 RM 0 -12.6 RL stroke + grestore}! +/ft{y ft0}! +/nt0{ gsave T 0.5 setlinewidth + -2 -4.3 M 0 12.2 RL + 1.3 -7.8 M 0 12.2 RL stroke + 2.1 setlinewidth + -2 -2.9 M 3.3 0.6 RL + -2 2.4 M 3.3 0.6 RL stroke + grestore}! +/nt{y nt0}! +/ftx{ M -1.4 2.7 RM + 5.7 3.1 5.7 -3.6 0 -6.7 RC + 3.9 4 4 7.6 0 5.8 RC + currentpoint fill M + dlw 0 7.1 RM 0 -12.4 RL stroke}! +/dft0{2 copy exch 2.5 sub exch ftx exch 1.5 add exch ftx}! +/dft{y dft0}! +/dsh0{ 2 copy M 0.7 setlinewidth + -2 -2 RM 4 4 RL + -4 0 RM 4 -4 RL stroke + 0.5 setlinewidth 2 copy M 1.3 -1.3 RM + 2 -0.2 RL 0.2 -2 RL -2 0.2 RL -0.2 2 RL fill + 2 copy M 1.3 1.3 RM + 2 0.2 RL 0.2 2 RL -2 -0.2 RL -0.2 -2 RL fill + 2 copy M -1.3 1.3 RM + -2 0.2 RL -0.2 2 RL 2 -0.2 RL 0.2 -2 RL fill + M -1.3 -1.3 RM + -2 -0.2 RL -0.2 -2 RL 2 0.2 RL 0.2 2 RL fill}! +/dsh{y dsh0}! +/tempstr 1 string def +/sharp_glyph{ + fh 0.4 mul 0 RM currentpoint + gsave T fh 0.08 mul dup scale 0 7 sh0 grestore + fh 0.4 mul 0 RM}! +/flat_glyph{ + fh 0.4 mul 0 RM currentpoint + gsave T fh 0.08 mul dup scale 0 5 ft0 grestore + fh 0.4 mul 0 RM}! +/nat_glyph{ + fh 0.4 mul 0 RM currentpoint + gsave T fh 0.08 mul dup scale 0 7 nt0 grestore + fh 0.4 mul 0 RM}! +/gcshow{ + {dup 129 eq {sharp_glyph} + {dup 130 eq {flat_glyph} + {dup 131 eq {nat_glyph} + {tempstr 0 2 index put tempstr show} + ifelse} + ifelse} + ifelse pop} + forall}! +/box{0.6 setlinewidth rectstroke}! +/bar{M dlw 0 exch RL stroke}! +/dotbar{[5] 0 setdash bar [] 0 setdash}! +/thbar{M dup 0 exch RL 3 0 RL 0 exch neg RL fill}! +/rdots{ 9 add M currentpoint 2 copy 1.2 0 360 arc + 6 add M currentpoint 1.2 0 360 arc fill}! +/csig{ M + 1 17.3 RM + 0.9 0 2.3 -0.7 2.4 -2.2 RC + -1.2 2 -3.6 -0.1 -1.6 -1.7 RC + 2 -1 3.8 3.5 -0.8 4.7 RC + -2 0.4 -6.4 -1.3 -5.8 -7 RC + 0.4 -6.4 7.9 -6.8 9.1 -0.7 RC + -2.3 -5.6 -6.7 -5.1 -6.8 0 RC + -0.5 4.4 0.7 7.5 3.5 6.9 RC + fill}! +/ctsig{dlw 2 copy csig 4 add M 0 16 RL stroke}! +/tsig{ M gsave /Times-Bold 16 selectfont 1.2 1 scale + 0 1 RM currentpoint 3 -1 roll cshow + M 0 12 RM cshow grestore}! +/stsig{ M gsave /Times-Bold 18 selectfont 1.2 1 scale + 0 6 RM cshow grestore}! +/staff{ M dlw dup 0 RL dup neg 6 RM + dup 0 RL dup neg 6 RM + dup 0 RL dup neg 6 RM + dup 0 RL dup neg 6 RM + 0 RL stroke}! +/sep0{dlw 0 M 0 lineto stroke}! +/hbrce{ -2.5 1 RM + -4.5 -4.6 -7.5 -12.2 -4.4 -26.8 RC + 3.5 -14.3 3.2 -21.7 -2.1 -24.2 RC + 7.4 2.4 7.3 14.2 3.5 29.5 RC + -2.7 9.5 -1.5 16.2 3 21.5 RC + fill}! +/brace{ gsave T 0 0 M 0.01 mul 1 exch scale hbrce + 0 -100 M 1 -1 scale hbrce grestore}! +/bracket{M dlw -5 2 RM currentpoint + -1.7 2 RM 10.5 -1 12 4.5 12 3.5 RC + 0 -1 -3.5 -5.5 -8.5 -5.5 RC fill + 3 setlinewidth M 0 2 RM + 0 exch neg -8 add RL currentpoint stroke + dlw M -1.7 0 RM + 10.5 1 12 -4.5 12 -3.5 RC + 0 1 -3.5 5.5 -8.5 5.5 RC fill}! +/mrest{ gsave T 1 setlinewidth + -20 6 M 0 12 RL 20 6 M 0 12 RL stroke + 5 setlinewidth -20 12 M 40 0 RL stroke + /Times-Bold 15 selectfont 0 28 M cshow grestore}! +/mrep{ 2 copy 2 copy + M -5 16 RM currentpoint 1.4 0 360 arc + M 5 8 RM currentpoint 1.4 0 360 arc + M -7 6 RM 11 12 RL 3 0 RL -11 -12 RL -3 0 RL + fill}! +/mrep2{ 2 copy 2 copy + M -5 18 RM currentpoint 1.4 0 360 arc + M 5 6 RM currentpoint 1.4 0 360 arc fill + M 1.8 setlinewidth + -7 4 RM 14 10 RL -14 -4 RM 14 10 RL + stroke}! +/repbra{gsave dlw T 0 -20 M + 0 20 3 index 1 ne {RL} {RM} ifelse 0 RL 0 ne {0 -20 RL} if stroke + 4 -13 M show grestore}! +/SL{M curveto RL curveto fill}! +/dSL{ M [4] 0 setdash 0.8 setlinewidth + curveto stroke [] 0 setdash + pop pop pop pop pop pop pop pop}! +/dsp{dup stringwidth pop}! +/glue{ 2 copy length exch length add string dup 4 2 roll 2 index 0 3 index + putinterval exch length exch putinterval}! +/TXT{/txt exch def}! +/rejoin{( ) search pop exch glue}! +/measure{dsp txt stringwidth pop add textwidth 2 add gt}! +/join{txt exch glue TXT}! +/find{search {pop 3 -1 roll 1 add 3 1 roll}{pop exit} ifelse}! +/spacecount{0 exch ( ) {find} loop}! +/jproc{dsp textwidth exch sub exch dup spacecount}! +/popzero{dup 0 eq {pop}{div} ifelse}! +/justify{jproc 1 sub 3 2 roll exch popzero 0 32 4 3 roll widthshow} def +/P1{ /textwidth exch def () TXT + dup spacecount{ + rejoin measure {gsave txt show grestore LF () TXT join}{join} ifelse + } repeat gsave txt show grestore LF () TXT pop}! +/P2{ /textwidth exch def () TXT + dup spacecount{ + rejoin measure {gsave txt justify grestore LF () TXT join}{join} ifelse + } repeat gsave txt show grestore LF () TXT pop}! +/hd{ xymove + 3.5 2 RM + -2 3.5 -9 -0.5 -7 -4 RC + 2 -3.5 9 0.5 7 4 RC fill}! +/Hd{ xymove + 3 1.6 RM + -1 1.8 -7 -1.4 -6 -3.2 RC + 1 -1.8 7 1.4 6 3.2 RC + 0.5 0.3 RM + 2 -3.8 -5 -7.6 -7 -3.8 RC + -2 3.8 5 7.6 7 3.8 RC + fill}! +/HD{ xymove + -1.6 2.4 RM + 2.8 1.6 6 -3.2 3.2 -4.8 RC + -2.8 -1.6 -6 3.2 -3.2 4.8 RC + 7.2 -2.4 RM + 0 1.8 -2.2 3.2 -5.6 3.2 RC + -3.4 0 -5.6 -1.4 -5.6 -3.2 RC + 0 -1.8 2.2 -3.2 5.6 -3.2 RC + 3.4 0 5.6 1.4 5.6 3.2 RC + fill}! +/HDD{ dlw HD + x y M -6 -4 RM 0 8 RL + x y M 6 -4 RM 0 8 RL stroke}! +/breve{ xymove + 2.5 setlinewidth -6 -2.7 RM 12 0 RL + 0 5.4 RM -12 0 RL stroke + dlw x y M -6 -5 RM 0 10 RL + x y M 6 -5 RM 0 10 RL stroke}! +/longa{ xymove + 2.5 setlinewidth -6 -2.7 RM 12 0 RL + 0 5.4 RM -12 0 RL stroke + dlw x y M -6 -5 RM 0 10 RL + x y M 6 -10 RM 0 15 RL stroke}! +/tw_head{/Helvetica 8 selectfont + 0 -45 M 90 rotate (WHISTLE) show -90 rotate + /Helvetica-Bold 36 selectfont + 0 -45 M show .5 setlinewidth newpath}! +/tw_under{ + 1 index 2.5 sub -4 M 2.5 -2.5 RL 2.5 2.5 RL + -2.5 -2.5 RM 0 6 RL stroke}! +/tw_over{ + 1 index 2.5 sub -3 M 2.5 2.5 RL 2.5 -2.5 RL + -2.5 2.5 RM 0 -6 RL stroke}! +/tw_0{7 sub 2 copy 3.5 sub 3 0 360 arc stroke}! +/tw_1{7 sub 2 copy 3.5 sub 2 copy 3 90 270 arc fill 3 270 90 arc stroke}! +/tw_2{7 sub 2 copy 3.5 sub 3 0 360 arc fill}! +/tw_p{pop -55 M 0 6 RL -3 -3 RM 6 0 RL stroke}! +/tw_pp{ pop 3 sub -53.5 M 6 0 RL + -1.5 -1.5 RM 0 3 RL + -3 0 RM 0 -3 RL stroke}! +/su{dlw x y M 3.5 1.0 RM 1.0 sub 0 exch RL stroke}! +/sd{dlw x y M -3.5 -1.0 RM 1.0 add 0 exch RL stroke}! +/sfu{ dlw x y M 3.5 1.0 RM + 1.0 sub 0 exch RL currentpoint stroke + M dup 1 eq + { + pop + 0.6 -5.6 9.6 -9 5.6 -18.4 RC + 1.6 6 -1.3 11.6 -5.6 12.8 RC + fill + }{ + 2 1 3 -1 roll { + pop currentpoint + 0.9 -3.7 9.1 -6.4 6 -12.4 RC + 1 5.4 -4.2 8.4 -6 8.4 RC + fill -5.4 add M + } for + 1.2 -3.2 9.6 -5.7 5.6 -14.6 RC + 1.6 5.4 -1 10.2 -5.6 11.4 RC + fill + } + ifelse}! +/sfd{ dlw x y M -3.5 -1.0 RM + 1.0 add 0 exch RL currentpoint stroke + M dup 1 eq + { + pop + 0.6 5.6 9.6 9 5.6 18.4 RC + 1.6 -6 -1.3 -11.6 -5.6 -12.8 RC + fill + }{ + 2 1 3 -1 roll { + pop currentpoint + 0.9 3.7 9.1 6.4 6 12.4 RC + 1 -5.4 -4.2 -8.4 -6 -8.4 RC + fill 5.4 add M + } for + 1.2 3.2 9.6 5.7 5.6 14.6 RC + 1.6 -5.4 -1 -10.2 -5.6 -11.4 RC + fill + } + ifelse}! +/sfs{ dlw x y M -3.5 -1.0 RM + 1.0 add 0 exch RL currentpoint stroke + M 1 1 3 -1 roll { + pop currentpoint + 7 3.2 RL + 0 3.2 RL + -7 -3.2 RL + fill 5.4 add M + } for}! +/ghd{ xymove + -1.3 1.5 RM + 2.4 2 5 -1 2.6 -3 RC + -2.4 -2 -5 1 -2.6 3 RC fill}! +/gu{ 0.6 setlinewidth x y M + 2.0 0 RM 0 exch RL stroke}! +/gd{ 0.6 setlinewidth x y M + -2.0 0 RM 0 exch RL stroke}! +/sgu{ 0.6 setlinewidth x y M 2.0 0 RM + 0 exch RL currentpoint stroke + M dup 1 eq + { + pop + 0.6 -3.4 5.6 -3.8 3 -10 RC + 1.2 4.4 -1.4 7 -3 7 RC + fill + }{ + 1 1 3 -1 roll { + pop currentpoint + 1 -3.2 5.6 -2.8 3.2 -8 RC + 1.4 4.8 -2.4 5.4 -3.2 5.2 RC + fill -3.5 add M + } for + } + ifelse}! +/sgd{ 0.6 setlinewidth x y M -2.0 0 RM + 0 exch RL currentpoint stroke + M dup 1 eq + { + pop + 0.6 3.4 5.6 3.8 3 10 RC + 1.2 -4.4 -1.4 -7 -3 -7 RC + fill + }{ + 1 1 3 -1 roll { + pop currentpoint + 1 3.2 5.6 2.8 3.2 8 RC + 1.4 -4.8 -2.4 -5.4 -3.2 -5.2 RC + fill 3.5 add M + } for + } + ifelse}! +/sgs{ 0.6 setlinewidth x y M 2.0 0 RM + 0 exch RL currentpoint stroke + M 1 1 3 -1 roll { + pop currentpoint + 3 -1.5 RL 0 -2 RL -3 1.5 RL + closepath fill -3 add M + } for}! +/ga{x y M -1 4 RM 9 5 RL stroke}! +/ghl{ 0.6 setlinewidth x -3 add exch M + 6 0 RL stroke}! +/gsl{dlw M curveto stroke}! +/gsc{gsave y T 0.7 dup scale 0 0}! +/gsh{gsc sh0 grestore}! +/gnt{gsc nt0 grestore}! +/gft{gsc ft0 grestore}! +/gdsh{gsc dsh0 grestore}! +/gdft{gsc dft0 grestore}! +0 setlinecap 0 setlinejoin +%%EndSetup +%%Page: 1 1 +gsave 0 813.6 T +0.75 dup scale +68.0 0 T + +% --- 1 (Test) --- +0 -22.68 T +0 -25.67 T +20.0 F0 (Test) 328.9 0 M cshow +0 -25.34 T +3.2 144.5 16.3 54.0 -27.1 bm +3.2 61.9 7.0 54.0 -32.1 bm +3.2 61.9 7.0 136.6 -22.8 bm +3.2 61.9 7.0 54.0 -37.1 bm +3.2 61.9 7.0 136.6 -27.8 bm +3.2 144.5 -16.3 235.7 -10.8 bm +3.2 61.9 -7.0 235.7 -15.8 bm +3.2 61.9 -7.0 318.3 -25.1 bm +3.2 61.9 -7.0 235.7 -20.8 bm +3.2 61.9 -7.0 318.3 -30.1 bm +3.2 220.4 0.0 416.3 -6.8 bm +3.2 102.7 0.0 416.3 -11.8 bm +3.2 102.7 0.0 534.1 -11.8 bm +3.2 102.7 0.0 416.3 -16.8 bm +3.2 102.7 0.0 534.1 -16.8 bm +3.2 102.7 0.0 416.3 -21.8 bm +3.2 102.7 0.0 534.1 -21.8 bm +657.7 0 -49.0 staff +12.0 -49.0 tclef +(1) (4) 33.5 -49.0 tsig +50.5 -55.0 hd 27.9 su -55.0 hl +71.1 -52.0 hd 27.3 su +91.8 -49.0 hd 26.6 su +112.4 -46.0 hd 25.9 su +133.1 -43.0 hd 25.2 su +153.7 -40.0 hd 24.6 su +174.4 -37.0 hd 23.9 su +195.0 -34.0 hd 23.2 su +24.0 214.9 -49.0 bar +232.2 -34.0 hd 23.2 su +252.8 -37.0 hd 23.9 su +273.5 -40.0 hd 24.6 su +294.1 -43.0 hd 25.2 su +314.8 -46.0 hd 25.9 su +335.4 -49.0 hd 26.6 su +356.1 -52.0 hd 27.3 su +376.7 -55.0 hd 27.9 su -55.0 hl +24.0 396.6 -49.0 bar +412.8 -55.0 hd 48.2 su -55.0 hl +427.5 -52.0 hd 45.2 su +442.2 -49.0 hd 42.2 su +456.9 -46.0 hd 39.2 su +471.5 -43.0 hd 36.2 su +486.2 -40.0 hd 33.2 su +500.9 -37.0 hd 30.2 su +515.6 -34.0 hd 27.2 su +530.6 -34.0 hd 27.2 su +545.2 -37.0 hd 30.2 su +559.9 -40.0 hd 33.2 su +574.6 -43.0 hd 36.2 su +589.3 -46.0 hd 39.2 su +603.9 -49.0 hd 42.2 su +618.6 -52.0 hd 45.2 su +633.3 -55.0 hd 48.2 su -55.0 hl +24.0 654.7 -49.0 thbar 24.0 651.7 -49.0 bar +0 -72.00 T +3.2 62.7 7.0 38.0 -29.0 bm +3.2 62.7 7.0 38.0 -34.0 bm +3.2 62.7 7.0 38.0 -39.0 bm +3.2 62.7 7.0 123.9 -17.0 bm +3.2 62.7 7.0 123.9 -22.0 bm +3.2 62.7 7.0 123.9 -27.0 bm +3.2 62.7 -7.0 224.0 -10.0 bm +3.2 62.7 -7.0 224.0 -15.0 bm +3.2 62.7 -7.0 224.0 -20.0 bm +3.2 62.7 -7.0 309.9 -22.0 bm +3.2 62.7 -7.0 309.9 -27.0 bm +3.2 62.7 -7.0 309.9 -32.0 bm +3.2 44.5 6.4 408.9 -23.7 bm +3.2 44.5 6.4 408.9 -28.7 bm +3.2 44.5 6.4 408.9 -33.7 bm +3.2 44.5 6.4 408.9 -38.7 bm +3.2 44.5 6.4 469.8 -11.7 bm +3.2 44.5 6.4 469.8 -16.7 bm +3.2 44.5 6.4 469.8 -21.7 bm +3.2 44.5 6.4 469.8 -26.7 bm +3.2 44.5 -6.4 531.2 -5.3 bm +3.2 44.5 -6.4 531.2 -10.3 bm +3.2 44.5 -6.4 531.2 -15.3 bm +3.2 44.5 -6.4 531.2 -20.3 bm +3.2 44.5 -6.4 592.1 -17.3 bm +3.2 44.5 -6.4 592.1 -22.3 bm +3.2 44.5 -6.4 592.1 -27.3 bm +3.2 44.5 -6.4 592.1 -32.3 bm +657.7 0 -49.0 staff +12.0 -49.0 tclef +34.5 -55.0 hd 26.0 su -55.0 hl +55.4 -52.0 hd 25.3 su +76.3 -49.0 hd 24.7 su +97.2 -46.0 hd 24.0 su +120.4 -43.0 hd 26.0 su +141.2 -40.0 hd 25.3 su +162.1 -37.0 hd 24.7 su +183.0 -34.0 hd 24.0 su +24.0 203.0 -49.0 bar +220.5 -34.0 hd 24.0 su +241.4 -37.0 hd 24.7 su +262.3 -40.0 hd 25.3 su +283.1 -43.0 hd 26.0 su +306.4 -46.0 hd 24.0 su +327.2 -49.0 hd 24.7 su +348.1 -52.0 hd 25.3 su +369.0 -55.0 hd 26.0 su -55.0 hl +24.0 389.0 -49.0 bar +405.4 -55.0 hd 31.3 su -55.0 hl +420.3 -52.0 hd 30.4 su +435.1 -49.0 hd 29.6 su +449.9 -46.0 hd 28.7 su +466.3 -43.0 hd 31.3 su +481.2 -40.0 hd 30.4 su +496.0 -37.0 hd 29.6 su +510.9 -34.0 hd 28.7 su +527.7 -34.0 hd 28.7 su +542.5 -37.0 hd 29.6 su +557.4 -40.0 hd 30.4 su +572.2 -43.0 hd 31.3 su +588.6 -46.0 hd 28.7 su +603.5 -49.0 hd 29.6 su +618.3 -52.0 hd 30.4 su +633.1 -55.0 hd 31.3 su -55.0 hl +24.0 654.7 -49.0 thbar 24.0 651.7 -49.0 bar +0 -72.00 T + +% --- 2 (Test 2 (halfbeam 0)) --- +0 -22.68 T +0 -25.67 T +20.0 F0 (Test 2 \(halfbeam 0\)) 328.9 0 M cshow +0 -25.34 T +3.2 145.8 16.3 54.0 -28.1 bm +3.2 145.8 16.3 54.0 -33.1 bm +3.2 145.8 -16.3 234.6 -11.8 bm +3.2 145.8 -16.3 234.6 -16.8 bm +3.2 103.2 14.9 414.1 -23.7 bm +3.2 103.2 14.9 414.1 -28.7 bm +3.2 103.2 14.9 414.1 -33.7 bm +3.2 103.2 -14.9 534.1 -8.8 bm +3.2 103.2 -14.9 534.1 -13.8 bm +3.2 103.2 -14.9 534.1 -18.8 bm +657.7 0 -47.0 staff +12.0 -47.0 tclef +(2) (4) 33.5 -47.0 tsig +50.5 -53.0 hd 24.9 su -53.0 hl +71.3 -50.0 hd 24.2 su +92.2 -47.0 hd 23.6 su +113.0 -44.0 hd 22.9 su +133.8 -41.0 hd 22.2 su +154.6 -38.0 hd 21.5 su +175.5 -35.0 hd 20.9 su +196.3 -32.0 hd 20.2 su +24.0 217.7 -47.0 bar +231.1 -32.0 hd 20.2 su +251.9 -35.0 hd 20.9 su +272.7 -38.0 hd 21.5 su +293.6 -41.0 hd 22.2 su +314.4 -44.0 hd 22.9 su +335.2 -47.0 hd 23.6 su +356.0 -50.0 hd 24.2 su +376.9 -53.0 hd 24.9 su -53.0 hl +24.0 398.3 -47.0 bar +410.6 -53.0 hd 29.3 su -53.0 hl +425.4 -50.0 hd 28.4 su +440.1 -47.0 hd 27.5 su +454.8 -44.0 hd 26.7 su +469.6 -41.0 hd 25.8 su +484.3 -38.0 hd 24.9 su +499.0 -35.0 hd 24.1 su +513.8 -32.0 hd 23.2 su +530.6 -32.0 hd 23.2 su +545.3 -35.0 hd 24.1 su +560.1 -38.0 hd 24.9 su +574.8 -41.0 hd 25.8 su +589.5 -44.0 hd 26.7 su +604.3 -47.0 hd 27.5 su +619.0 -50.0 hd 28.4 su +633.7 -53.0 hd 29.3 su -53.0 hl +24.0 654.7 -47.0 thbar 24.0 651.7 -47.0 bar +0 -70.00 T +3.2 63.4 7.0 38.0 -30.8 bm +3.2 63.4 7.0 38.0 -35.8 bm +3.2 63.4 7.0 124.8 -18.8 bm +3.2 63.4 7.0 124.8 -23.8 bm +3.2 63.4 -7.0 223.3 -11.8 bm +3.2 63.4 -7.0 223.3 -16.8 bm +3.2 63.4 -7.0 310.1 -23.8 bm +3.2 63.4 -7.0 310.1 -28.8 bm +3.2 44.8 6.4 407.5 -26.7 bm +3.2 44.8 6.4 407.5 -31.7 bm +3.2 44.8 6.4 407.5 -36.7 bm +3.2 44.8 6.4 469.0 -14.7 bm +3.2 44.8 6.4 469.0 -19.7 bm +3.2 44.8 6.4 469.0 -24.7 bm +3.2 44.8 -6.4 530.8 -8.3 bm +3.2 44.8 -6.4 530.8 -13.3 bm +3.2 44.8 -6.4 530.8 -18.3 bm +3.2 44.8 -6.4 592.3 -20.3 bm +3.2 44.8 -6.4 592.3 -25.3 bm +3.2 44.8 -6.4 592.3 -30.3 bm +657.7 0 -47.0 staff +12.0 -47.0 tclef +34.5 -53.0 hd 22.2 su -53.0 hl +55.6 -50.0 hd 21.5 su +76.7 -47.0 hd 20.9 su +97.9 -44.0 hd 20.2 su +121.3 -41.0 hd 22.2 su +142.4 -38.0 hd 21.5 su +163.6 -35.0 hd 20.9 su +184.7 -32.0 hd 20.2 su +24.0 206.2 -47.0 bar +219.8 -32.0 hd 20.2 su +240.9 -35.0 hd 20.9 su +262.0 -38.0 hd 21.5 su +283.1 -41.0 hd 22.2 su +306.6 -44.0 hd 20.2 su +327.7 -47.0 hd 20.9 su +348.9 -50.0 hd 21.5 su +370.0 -53.0 hd 22.2 su -53.0 hl +24.0 391.5 -47.0 bar +404.0 -53.0 hd 26.3 su -53.0 hl +419.0 -50.0 hd 25.4 su +433.9 -47.0 hd 24.6 su +448.8 -44.0 hd 23.7 su +465.5 -41.0 hd 26.3 su +480.4 -38.0 hd 25.4 su +495.3 -35.0 hd 24.6 su +510.3 -32.0 hd 23.7 su +527.3 -32.0 hd 23.7 su +542.3 -35.0 hd 24.6 su +557.2 -38.0 hd 25.4 su +572.2 -41.0 hd 26.3 su +588.8 -44.0 hd 23.7 su +603.7 -47.0 hd 24.6 su +618.7 -50.0 hd 25.4 su +633.6 -53.0 hd 26.3 su -53.0 hl +24.0 654.7 -47.0 thbar 24.0 651.7 -47.0 bar +0 -70.00 T + +% --- 3 (Test 3 (halfbeam 1)) --- +0 -22.68 T +0 -25.67 T +20.0 F0 (Test 3 \(halfbeam 1\)) 328.9 0 M cshow +0 -25.34 T +3.2 145.8 16.3 54.0 -28.1 bm +3.2 145.8 16.3 54.0 -33.1 bm +3.2 145.8 -16.3 234.6 -11.8 bm +3.2 145.8 -16.3 234.6 -16.8 bm +3.2 103.2 14.9 414.1 -23.7 bm +3.2 44.2 6.4 414.1 -28.7 bm +3.2 44.2 6.4 473.1 -20.2 bm +3.2 44.2 6.4 414.1 -33.7 bm +3.2 44.2 6.4 473.1 -25.2 bm +3.2 103.2 -14.9 534.1 -8.8 bm +3.2 44.2 -6.4 534.1 -13.8 bm +3.2 44.2 -6.4 593.0 -22.3 bm +3.2 44.2 -6.4 534.1 -18.8 bm +3.2 44.2 -6.4 593.0 -27.3 bm +657.7 0 -47.0 staff +12.0 -47.0 tclef +(2) (4) 33.5 -47.0 tsig +50.5 -53.0 hd 24.9 su -53.0 hl +71.3 -50.0 hd 24.2 su +92.2 -47.0 hd 23.6 su +113.0 -44.0 hd 22.9 su +133.8 -41.0 hd 22.2 su +154.6 -38.0 hd 21.5 su +175.5 -35.0 hd 20.9 su +196.3 -32.0 hd 20.2 su +24.0 217.7 -47.0 bar +231.1 -32.0 hd 20.2 su +251.9 -35.0 hd 20.9 su +272.7 -38.0 hd 21.5 su +293.6 -41.0 hd 22.2 su +314.4 -44.0 hd 22.9 su +335.2 -47.0 hd 23.6 su +356.0 -50.0 hd 24.2 su +376.9 -53.0 hd 24.9 su -53.0 hl +24.0 398.3 -47.0 bar +410.6 -53.0 hd 29.3 su -53.0 hl +425.4 -50.0 hd 28.4 su +440.1 -47.0 hd 27.5 su +454.8 -44.0 hd 26.7 su +469.6 -41.0 hd 25.8 su +484.3 -38.0 hd 24.9 su +499.0 -35.0 hd 24.1 su +513.8 -32.0 hd 23.2 su +530.6 -32.0 hd 23.2 su +545.3 -35.0 hd 24.1 su +560.1 -38.0 hd 24.9 su +574.8 -41.0 hd 25.8 su +589.5 -44.0 hd 26.7 su +604.3 -47.0 hd 27.5 su +619.0 -50.0 hd 28.4 su +633.7 -53.0 hd 29.3 su -53.0 hl +24.0 654.7 -47.0 thbar 24.0 651.7 -47.0 bar +0 -70.00 T +3.2 63.4 7.0 38.0 -30.8 bm +3.2 63.4 7.0 38.0 -35.8 bm +3.2 63.4 7.0 124.8 -18.8 bm +3.2 63.4 7.0 124.8 -23.8 bm +3.2 63.4 -7.0 223.3 -11.8 bm +3.2 63.4 -7.0 223.3 -16.8 bm +3.2 63.4 -7.0 310.1 -23.8 bm +3.2 63.4 -7.0 310.1 -28.8 bm +3.2 44.8 6.4 407.5 -26.7 bm +3.2 44.8 6.4 407.5 -31.7 bm +3.2 44.8 6.4 407.5 -36.7 bm +3.2 44.8 6.4 469.0 -14.7 bm +3.2 44.8 6.4 469.0 -19.7 bm +3.2 44.8 6.4 469.0 -24.7 bm +3.2 44.8 -6.4 530.8 -8.3 bm +3.2 44.8 -6.4 530.8 -13.3 bm +3.2 44.8 -6.4 530.8 -18.3 bm +3.2 44.8 -6.4 592.3 -20.3 bm +3.2 44.8 -6.4 592.3 -25.3 bm +3.2 44.8 -6.4 592.3 -30.3 bm +657.7 0 -47.0 staff +12.0 -47.0 tclef +34.5 -53.0 hd 22.2 su -53.0 hl +55.6 -50.0 hd 21.5 su +76.7 -47.0 hd 20.9 su +97.9 -44.0 hd 20.2 su +121.3 -41.0 hd 22.2 su +142.4 -38.0 hd 21.5 su +163.6 -35.0 hd 20.9 su +184.7 -32.0 hd 20.2 su +24.0 206.2 -47.0 bar +219.8 -32.0 hd 20.2 su +240.9 -35.0 hd 20.9 su +262.0 -38.0 hd 21.5 su +283.1 -41.0 hd 22.2 su +306.6 -44.0 hd 20.2 su +327.7 -47.0 hd 20.9 su +348.9 -50.0 hd 21.5 su +370.0 -53.0 hd 22.2 su -53.0 hl +24.0 391.5 -47.0 bar +404.0 -53.0 hd 26.3 su -53.0 hl +419.0 -50.0 hd 25.4 su +433.9 -47.0 hd 24.6 su +448.8 -44.0 hd 23.7 su +465.5 -41.0 hd 26.3 su +480.4 -38.0 hd 25.4 su +495.3 -35.0 hd 24.6 su +510.3 -32.0 hd 23.7 su +527.3 -32.0 hd 23.7 su +542.3 -35.0 hd 24.6 su +557.2 -38.0 hd 25.4 su +572.2 -41.0 hd 26.3 su +588.8 -44.0 hd 23.7 su +603.7 -47.0 hd 24.6 su +618.7 -50.0 hd 25.4 su +633.6 -53.0 hd 26.3 su -53.0 hl +24.0 654.7 -47.0 thbar 24.0 651.7 -47.0 bar +0 -70.00 T +%%PageTrailer +grestore +showpage +%%Trailer +%%Pages: 1 +%EOF