--- cup-0.11a+20060608.orig/debian/cup.manpages +++ cup-0.11a+20060608/debian/cup.manpages @@ -0,0 +1 @@ +debian/cup.1 --- cup-0.11a+20060608.orig/debian/control +++ cup-0.11a+20060608/debian/control @@ -0,0 +1,24 @@ +Source: cup +Section: devel +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Arnaud Vandyck , Michael Koch , + Torsten Werner +Build-Depends: ant, cdbs, debhelper (>= 4.2.30), default-jdk, cup (>= 0.11a), + jflex, quilt +Standards-Version: 3.8.0 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/cup +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/cup +Homepage: http://www2.cs.tum.edu/projects/cup/ + +Package: cup +Architecture: all +Section: devel +Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless +Suggests: java-compiler +Description: LALR parser generator for Java(tm) + CUP is the "Constructor of Useful Parsers", a system for generating + parsers from simple LALR specifications. It serves the same role as the + widely used program YACC and in fact offers most of the features of YACC. + However, CUP is written in Java, uses specifications including embedded + Java code, and produces parsers which are implemented in Java. --- cup-0.11a+20060608.orig/debian/cup.sh +++ cup-0.11a+20060608/debian/cup.sh @@ -0,0 +1,6 @@ +#! /bin/sh + +CLASSPATH="$CLASSPATH:/usr/share/java/cup.jar" +export CLASSPATH + +exec /usr/bin/java java_cup.Main "$@" --- cup-0.11a+20060608.orig/debian/cup.doc-base +++ cup-0.11a+20060608/debian/cup.doc-base @@ -0,0 +1,9 @@ +Document: cup +Title: Manual for CUP +Author: CUP developers +Abstract: This is the manual of CUP a LALR parser generator for Java. +Section: Programming/Java + +Format: HTML +Index: /usr/share/doc/cup/manual.html +Files: /usr/share/doc/cup/manual.html --- cup-0.11a+20060608.orig/debian/compat +++ cup-0.11a+20060608/debian/compat @@ -0,0 +1 @@ +4 --- cup-0.11a+20060608.orig/debian/cup.links +++ cup-0.11a+20060608/debian/cup.links @@ -0,0 +1 @@ +/usr/share/java/cup-0.11a.jar /usr/share/java/cup.jar --- cup-0.11a+20060608.orig/debian/cup.1 +++ cup-0.11a+20060608/debian/cup.1 @@ -0,0 +1,70 @@ +.TH CUP 1 +.SH NAME +cup \- LALR parser generator for Java(tm) +.SH SYNOPSIS +.B cup +.RI [ options ] +.RI < file +.SH DESCRIPTION +This manual page documents briefly the +.B cup +command. +This manual page was written for the Debian GNU/Linux distribution +(but may be used by others), because the original program does not +have a manual page. +Instead, it has documentation in HTML format; see +.IR /usr/doc/cup/manual.html . +.SH OPTIONS +.TP +.B \-package name +specify package generated classes go in [default none]. +.TP +.B \-parser name +specify parser class name [default "parser"]. +.TP +.B \-symbols name +specify name for symbol constant class [default "sym"] +.TP +.B \-nonterms +put non terminals in symbol constant class. +.TP +.B \-expect # +number of conflicts expected/allowed [default 0]. +.TP +.B \-compact_red +compact tables by defaulting to most frequent reduce. +.TP +.B \-nowarn +don't warn about useless productions, etc. +.TP +.B \-nosummary +don't print the usual summary of parse states, etc. +.TP +.B \-nopositions +don't propagate the left and right token position values. +.TP +.B \-progress +print messages to indicate progress of the system. +.TP +.B \-time +print time usage summary. +.TP +.B \-dump_grammar +produce a human readable dump of the symbols and grammar. +.TP +.B \-dump_states +produce a dump of parse state machine. +.TP +.B \-dump_tables +produce a dump of the parse tables +.TP +.B \-dump +produce a dump of all of the above. +.SH "SEE ALSO" +.BR jlex (1), +.BR javac (1). +.SH AUTHORS +The author of CUP is Scott E. Hudson +. +This manual page was written by Vincent Renardias , +for the Debian GNU/Linux system. --- cup-0.11a+20060608.orig/debian/changelog +++ cup-0.11a+20060608/debian/changelog @@ -0,0 +1,133 @@ +cup (0.11a+20060608-1) unstable; urgency=low + + [ Matthias Klose ] + * (Build-)depend on default-jre/-jdk. + + [ Torsten Werner ] + * new upstream version (Closes: #497588) + * Add target get-orig-source to debian/rules. + * Switch to cdbs. + * Bump up Standards-Version: 3.8.0. + + -- Torsten Werner Thu, 16 Oct 2008 23:22:13 +0200 + +cup (0.10k-7) unstable; urgency=low + + * Fixed program name. Closes: #415139. + * Fixed doc-base section to 'Programming/Java'. + * Added Homepage, Vcs-Svn and Vcs-Browser fields. + * Updated Standards-Version to 3.7.3. + * Added watch file. + + -- Michael Koch Sat, 19 Apr 2008 22:46:53 +0200 + +cup (0.10k-6) unstable; urgency=low + + * Use java-gcj-compat instead of kaffe. + * Moved Build-Depends-Indep to Build-Depends. + * Removed Wolfgang and added myself to Uploaders. + * Updated Standards-Version. + + -- Michael Koch Sun, 17 Jun 2007 20:42:23 +0200 + +cup (0.10k-5) unstable; urgency=low + + * added myself as an uploader. + * removed Takashi Okamoto from the uploaders (closes: #352978). + + -- Arnaud Vandyck Thu, 9 Mar 2006 21:30:14 +0000 + +cup (0.10k-4) unstable; urgency=low + + * Transfer maintainership to pkg-java maintainers + * Added compat file + * Removed conflicts,replaces with java-cup + * Register doc via doc-base and not menu + * Removed redundant build-deps jikes, fastjar + * Cleaned up debian/rules + * Removed left-over old makefile "process" + * Standards-Version 3.6.2 + * Added myself to uploaders + + -- Wolfgang Baer Fri, 14 Oct 2005 14:52:08 +0200 + +cup (0.10k-3) unstable; urgency=low + + * Fixed dependency. (closes:#177751) + + -- Takashi Okamoto Sun, 18 Jan 2004 03:10:20 +0900 + +cup (0.10k-2) unstable; urgency=low + + * Fixed FTBFS (closes:#162864) + * modify dependency for new Java Policy. + + -- Takashi Okamoto Sun, 29 Dec 2002 09:50:01 +0900 + +cup (0.10k-1) unstable; urgency=low + + * New upstream release + * closes: #153921 (request new upstream) + + -- Takashi Okamoto Sat, 27 Jul 2002 07:43:20 +0900 + +cup (0.10j-3) unstable; urgency=low + + * rename cup.jar to cup-0.10j.jar for new Java Policy. + cup.jar is linked from cup-0.10j.jar. + + -- Takashi Okamoto Sat, 16 Feb 2002 17:04:24 +0900 + +cup (0.10j-2) unstable; urgency=low + + * New Maintainer (closes: #77528, #91137, #91422, #44468, #63166) + + -- Takashi Okamoto Fri, 15 Jun 2001 22:58:00 +0900 + +cup (0.10j-1.1) unstable; urgency=low + + * modify for debian java policy + + -- Takashi Okamoto Sat, 2 Jun 2001 22:45:41 +0900 + +cup (0.10g-2) unstable; urgency=low + + * Removed useless "icon=none" from menu file. + + -- Takashi Okamoto Sat, 2 Jun 2001 22:45:36 +0900 + +cup (0.10g-1) unstable; urgency=low + + * New maintainer. + * New upstream source. + * Filled in copyright file. + * Changed package name to avoid using SUN's "Java" trademark. + * Register manual with dwww. + * Install simple_calc example. + * Conflict and replace "java-cup". + * Depend on "jdk1.1 | jdk1.1-runtime", for maximal compatibility. + + * Changed wrapper script to pass options as-is -- you can now pass + options to cup as described in its HTML manual. + + * Use generic debian/rules; rewrote old rules into debian/process. + * Updated standards-version to 2.4.1. + * Other minor titivation to Debian-specific files. + + -- Charles Briscoe-Smith Fri, 2 Oct 1998 21:51:09 +0100 + +java-cup (0.10b-2) unstable; urgency=low + + * New Maintainer + + -- Michael Fletcher Thu, 27 Mar 1997 22:52:46 -0600 + +java-cup (0.10b-1) unstable; urgency=low + + * Initial Release. + + -- Vincent Renardias Sun, 2 Feb 1997 07:03:45 +0100 + +Local variables: +mode: debian-changelog +End: --- cup-0.11a+20060608.orig/debian/watch +++ cup-0.11a+20060608/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/v/0\./ \ +http://www2.cs.tum.edu/projects/cup/ java_cup_(.*)\.tar\.gz --- cup-0.11a+20060608.orig/debian/copyright +++ cup-0.11a+20060608/debian/copyright @@ -0,0 +1,27 @@ +This is the Debian GNU/Linux prepackaged version of CUP, a +parser generator for Java. It was debianized by Vincent Renardias + on Sun, 2 Feb 1997 07:03:45 +0100. + +It was downloaded from the CUP web page at +. + + CUP PARSER GENERATOR COPYRIGHT NOTICE, LICENSE AND DISCLAIMER. + + Copyright 1996 by Scott Hudson, Frank Flannery, C. Scott Ananian + + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and + that both the copyright notice and this permission notice and warranty + disclaimer appear in supporting documentation, and that the names of + the authors or their employers not be used in advertising or publicity + pertaining to distribution of the software without specific, written + prior permission. + + The authors and their employers disclaim all warranties with regard to + this software, including all implied warranties of merchantability and + fitness. In no event shall the authors or their employers be liable + for any special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether in an + action of contract, negligence or other tortious action, arising out + of or in connection with the use or performance of this software. --- cup-0.11a+20060608.orig/debian/rules +++ cup-0.11a+20060608/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := cup JFlex + +install/cup:: + install -D -m644 dist/java-cup-11a.jar \ + $(DEB_DESTDIR)/usr/share/java/cup-0.11a.jar + install -D debian/cup.sh $(DEB_DESTDIR)/usr/bin/cup + +get-orig-source: + wget -o cup_0.11a+20060608.orig.tar.gz \ + https://www2.in.tum.de/WebSVN/dl.php?repname=CUP&path=/develop/&rev=0&isdir=1 --- cup-0.11a+20060608.orig/debian/cup.docs +++ cup-0.11a+20060608/debian/cup.docs @@ -0,0 +1 @@ +manual.html --- cup-0.11a+20060608.orig/debian/patches/build.diff +++ cup-0.11a+20060608/debian/patches/build.diff @@ -0,0 +1,13 @@ +Index: cup-0.11a+20060608/build.xml +=================================================================== +--- cup-0.11a+20060608.orig/build.xml 2008-10-16 23:00:40.000000000 +0200 ++++ cup-0.11a+20060608/build.xml 2008-10-16 23:00:51.000000000 +0200 +@@ -53,7 +53,7 @@ + + + +- ++ + + + --- cup-0.11a+20060608.orig/debian/patches/series +++ cup-0.11a+20060608/debian/patches/series @@ -0,0 +1 @@ +build.diff