pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/jcabc2ps Initial import of jcabc2ps-20060106, a ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/749e9198cb33
branches:  trunk
changeset: 510723:749e9198cb33
user:      ben <ben%pkgsrc.org@localhost>
date:      Sun Apr 02 22:18:58 2006 +0000

description:
Initial import of jcabc2ps-20060106, a music typesetting program for abc.

Jcabc2ps is a typesetting program for abc.  It reads a file containing
abc code and outputs the music to another file in Postscript.  This is
John Chambers' clone of Michael Methfessel's abc2ps program.

diffstat:

 print/jcabc2ps/DESCR            |    3 +
 print/jcabc2ps/Makefile         |   17 +
 print/jcabc2ps/PLIST            |    3 +
 print/jcabc2ps/distinfo         |    7 +
 print/jcabc2ps/patches/patch-aa |   69 ++++++
 print/jcabc2ps/patches/patch-ab |  430 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 529 insertions(+), 0 deletions(-)

diffs (truncated from 553 to 300 lines):

diff -r 21179af77724 -r 749e9198cb33 print/jcabc2ps/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/jcabc2ps/DESCR      Sun Apr 02 22:18:58 2006 +0000
@@ -0,0 +1,3 @@
+Jcabc2ps is a typesetting program for abc.  It reads a file containing
+abc code and outputs the music to another file in Postscript.  This is
+John Chambers' clone of Michael Methfessel's abc2ps program.
diff -r 21179af77724 -r 749e9198cb33 print/jcabc2ps/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/jcabc2ps/Makefile   Sun Apr 02 22:18:58 2006 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/02 22:18:58 ben Exp $
+#
+
+DISTNAME=      jcabc2ps-src
+PKGNAME=       jcabc2ps-20060106
+CATEGORIES=    print
+MASTER_SITES=  http://ecf-guest.mit.edu/~jc/music/abc/src/
+WRKSRC=                ${WRKDIR}/jcabc2ps
+
+MAINTAINER=    ben%NetBSD.org@localhost
+HOMEPAGE=      http://ecf-guest.mit.edu/~jc/music/abc/src/
+COMMENT=       Music typesetting program for abc
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/doc/jcabc2ps.d ${PREFIX}/man/cat1/jcabc2ps.1
+
+.include "../../mk/bsd.pkg.mk"
diff -r 21179af77724 -r 749e9198cb33 print/jcabc2ps/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/jcabc2ps/PLIST      Sun Apr 02 22:18:58 2006 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/02 22:18:58 ben Exp $
+bin/jcabc2ps
+man/cat1/jcabc2ps.1
diff -r 21179af77724 -r 749e9198cb33 print/jcabc2ps/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/jcabc2ps/distinfo   Sun Apr 02 22:18:58 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/02 22:18:58 ben Exp $
+
+SHA1 (jcabc2ps-src.tar.gz) = 6dbd9d00453c97ccf04cf707e6c4db88361c3bea
+RMD160 (jcabc2ps-src.tar.gz) = e454dc1d787c9b5a833316f5edb5dff463e6daa4
+Size (jcabc2ps-src.tar.gz) = 550842 bytes
+SHA1 (patch-aa) = fe4235fbf9ef6e364fda51849f9b1dddf4af6d76
+SHA1 (patch-ab) = 8fd77d205e902eabc0338de6b88169735c812f42
diff -r 21179af77724 -r 749e9198cb33 print/jcabc2ps/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/jcabc2ps/patches/patch-aa   Sun Apr 02 22:18:58 2006 +0000
@@ -0,0 +1,69 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/02 22:18:58 ben Exp $
+
+--- Makefile.orig      2006-01-06 15:20:13.000000000 -0800
++++ Makefile
+@@ -26,9 +26,9 @@ SHELL=/bin/sh
+ # You might want to change this to control how to install things:
+ # How we link or copy the program to where it belongs:
+ 
+-LC=./Lc
++#LC=./Lc
+ #LC=/bin/ln -f
+-#LC=/bin/cp -f
++LC=/bin/cp -f
+ #LC=/bin/mv -f
+ 
+ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
+@@ -70,8 +70,8 @@ PS= \
+       Words1 w_01 w_AllMyLoving1 w_AllMyLoving2 w_NoFrontiers w_OrdinaryMan 
+ 
+ # compilation options
+-CC = gcc
+-CFLAGS = -Wall  -I/usr/demo/SOUND/include 
++#CC = gcc
++#CFLAGS = -Wall  -I/usr/demo/SOUND/include 
+ 
+ # using Sun audio library
+ #CC = cc
+@@ -79,15 +79,16 @@ CFLAGS = -Wall  -I/usr/demo/SOUND/includ
+ #LDFLAGS = -L/usr/demo/SOUND/lib -laudio -lm
+ 
+ # using supplied audio functions
+-CC = cc
+-CFLAGS = -g
+-LDFLAGS = -lm -g
++#CC = cc
++#CFLAGS = -g
++#LDFLAGS = -lm -g
++LDFLAGS+=-lm
+ 
+ # installation directories
+-SYSDIR = $(HOME)
+-BINDIR1 = $(HOME)/bin
+-BINDIR2 = $(HOME)/p/cgi/abc
+-MANDIR = $(SYSDIR)/man/man1 
++SYSDIR = ${PREFIX}
++BINDIR1 = ${PREFIX}/bin
++#BINDIR2 = $(HOME)/p/cgi/abc
++#MANDIR = $(SYSDIR)/man/man1 
+ 
+ OBJECTS=jcabc2ps.o \
+       buffer.o format.o macro.o memBlock.o minStr.o misc.o music.o parse.o \
+@@ -189,7 +190,7 @@ util.o: \
+ # takes  a  file  name  and  a  directory in which to install it.  The manual
+ # installation might take some tweaking for your system.
+ 
+-install: $(BINDIR1)/$(A2P1) $(BINDIR2)/$(A2P1)
++install: $(BINDIR1)/$(A2P1)
+ 
+ man: $(MANDIR)/$(A2P1).1.gz
+ 
+@@ -199,7 +200,7 @@ $(MANDIR)/$(A2P1).1: $(A2P1).1
+ #     $(LC) $(A2P1).1.gz $(MANDIR)
+ 
+ $(BINDIR1)/$(A2P1): $(A2P1); $(LC) $(A2P1) $(BINDIR1)
+-$(BINDIR2)/$(A2P1): $(A2P1); $(LC) $(A2P1) $(BINDIR2)
++#$(BINDIR2)/$(A2P1): $(A2P1); $(LC) $(A2P1) $(BINDIR2)
+ 
+ neat:
+       -rm -f core *- *.out log/*
diff -r 21179af77724 -r 749e9198cb33 print/jcabc2ps/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/jcabc2ps/patches/patch-ab   Sun Apr 02 22:18:58 2006 +0000
@@ -0,0 +1,430 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/04/02 22:18:58 ben Exp $
+
+--- doc/jcabc2ps.d.orig        2003-08-15 09:11:15.000000000 -0700
++++ doc/jcabc2ps.d
+@@ -7,63 +7,78 @@ SYNOPSIS
+ REQUIRES
+ 
+ DESCRIPTION
+-  This is a clone of Michael Methfessel's abc2ps program, with  a  number  of
+-  additional  capabilities.   One  significant  change for users is that this
+-  version now writes to standard output by default, so you can write:
++  This is a clone of Michael Methfessel's abc2ps program, with a
++  number of additional capabilities. One significant change for
++  users is that this version now writes to standard output by
++  default, so you can write:
+       jcabc2ps JoesJig.abc | lpr
+-  And, since the .abc suffix is assumed, this can be further shortened to
++  And, since the .abc suffix is assumed, this can be further
++  shortened to
+       jcabc2ps JoesJig | lpr
+-  This also greatly simplifies further processing by other PostScript  tools,
+-  since  jcabc2ps  may  be  used  in  pipelines  like  a normal unix "filter"
+-  program.
+-
+-  The command line may contain one or more file names, which are scanned  for
+-  ABC tunes. Text outside of tunes (except for %% lines described below) will
+-  be ignored.  The tunes will be converted  to  conventional  muisic  "staff"
+-  notation  in  the form of PostScript, which may be sent to most printers or
++  This also greatly simplifies further processing by other
++  PostScript tools, since jcabc2ps may be used in pipelines like
++  a normal unix "filter" program.
++
++  The command line may contain one or more file names, which are
++  scanned for ABC tunes. Text outside of tunes (except for %%
++  lines described below) will be ignored. The tunes will be
++  converted to conventional muisic "staff" notation in the form
++  of PostScript, which may be sent to most printers or
+   incorporated into documents by many word processing programs.
+ 
+ OPTIONS
+-  There are a lot of command-line options. They start with a '-' or '+' flag.
+-  The  original  program  was somewhat inconsistent in how it used these; the
+-  scheme has been simplified so that '-' now means "no" or "off" or "disable"
++  There are a lot of command-line options. They start with a
++  '-' or '+' flag.  The original program was somewhat
++  inconsistent in how it used these; the scheme has been
++  simplified so that '-' now means "no" or "off" or "disable"
+   and '+' means "yes" or "on" or "enable".
+ 
+   Some of the options are not fully understood yet ...
+ 
+     -b
+-       Don't break at line ends.  Lines that end  with  '\'  (backslash)  are
+-       considered to be continued.  (default)
++       Don't break at line ends. Lines that end with '\'
++       (backslash) are considered to be continued. (default)
++
+     +b
+-       Break at line ends. All line ends are treated as end of staff, whether
+-       or not they end with '\'.
++       Break at line ends. All line ends are treated as end of
++       staff, whether or not they end with '\'.
+ 
+     -c
+-       Don't continue lines.  Line ends are honored as end of  staff,  unless
+-       they end with '\' (backslash).  (default)
++       Don't continue lines. Line ends are honored as end of
++       staff, unless they end with '\' (backslash). (default)
++
+     +c
+-       Continue lines.  Line ends are ignored, as if they all ended with '\'.
+-       The program generates staff breaks automatically.
++       Continue lines. Line ends are ignored, as if they all
++       ended with '\'.  The program generates staff breaks
++       automatically.
+ 
+     +i
+-       Interactive, described below.  [Interactive mode  hasn't  been  tested
+-       much since some of the major jcabc2ps extensions were added.]
++       Interactive, described below. [Interactive mode hasn't
++       been tested much since some of the major jcabc2ps
++       extensions were added.]
+ 
+     -o
+-       No postscript output.  This is useful for debugging purposes.
++       No postscript output. This is useful for debugging
++       purposes.
++
+     +o <file>
+-       Output file.  Write the PostScript output to the named file.  The file
+-       name  may  immediately  follow  the 'o' or may be a separate argument.
+-       Note that this option is rarely needed, now that  jcabc2ps  writes  to
+-       standard output by default.
++       Output file. Write the PostScript output to the named
++       file. The file name may immediately follow the 'o' or
++       may be a separate argument.  Note that this option is
++       rarely needed, now that jcabc2ps writes to standard
++       output by default.
+ 
+     -n
+-       Don't historical notes and other optional stuff.  (default)
++       Don't historical notes and other optional stuff.
++       (default)
++
+     +n
+-       Print historical notes and other stuff at the bottom of each tune.
++       Print historical notes and other stuff at the bottom of
++       each tune.
+ 
+     -x
+        Don't print index numbers.
++
+     +x
+        Print index numbers before the titles.
+ 
+@@ -71,25 +86,28 @@ OPTIONS
+        One tune per page.
+ 
+     -A
+-      Don't select all tunes; honor other selectors. (default)
++       Don't select all tunes; honor other selectors. (default)
++
+     +A
+-      selects all tunes, overriding other selectors
++       selects all tunes, overriding other selectors
+ 
+     +a x
+-       Set the maximal amount of permitted  shrinking  to  x,  where  x  lies
+-       between 0 and 1.
++       Set the maximal amount of permitted shrinking to x,
++       where x lies between 0 and 1.
+ 
+     +B n
+        Try to typeset with n bars on each line.
+-       [What is a "bar" isn't clearly understood.  More work should be done
+-       in this area.]
++       [What is a "bar" isn't clearly understood. More work
++       should be done in this area.]
+ 
+     +C
+        ___
+ 
++
+     +D <arg>
+        ___
+ 
++
+     +d <arg>
+        ___
+ 
+@@ -97,48 +115,57 @@ OPTIONS
+        ___
+ 
+     +e selector1 selector2 ...
+-       Select specific tunes from the files, where each selector is a set  of
+-       xref  numbers or a pattern.  With -o, this will list only the selected
+-       tunes found in the files.  With +o, output is generated only  for  the
++       Select specific tunes from the files, where each
++       selector is a set of xref numbers or a pattern. With -o,
++       this will list only the selected tunes found in the
++       files. With +o, output is generated only for the
+        selected tunes.
+ 
+        To list selected tunes:
+           abc2ps book1 -e 1-3 5,20- 'House*' Hall
+        
+-       This selects xref numbers 1 to 3, 5, and 20 and above, as well  as  those
+-       tunes  whose  title  either  starts  with  "House" or contains the string
+-       "Hall". A pattern without wildcards such as 'Hall' is treated as '*Hall*'
+-
+-       Optionally, the search can be done on other fields using these  flags  in
+-       place of -e:
+-          flag -R    seaches the rhythm field
+-          flag -C    searches the composer field
+-          flag -S    searches the source field.
+-          flag -T    seaches the title field (default)
++       This selects xref numbers 1 to 3, 5, and 20 and above,



Home | Main Index | Thread Index | Old Index