--- cup-0.10k.orig/debian/rules +++ cup-0.10k/debian/rules @@ -0,0 +1,42 @@ +#!/usr/bin/make -f + +LIBRARY=cup +VERSION=0.10k + +build: + dh_testdir + make -f debian/Makefile + touch build + +install: + dh_testdir + dh_clean + dh_installdirs usr/share/java usr/bin + install -m644 ${LIBRARY}.jar debian/cup/usr/share/java/${LIBRARY}-${VERSION}.jar + install -m755 debian/cup.sh debian/cup/usr/bin/cup + +clean: + dh_testdir + dh_testroot + dh_clean + make -f debian/Makefile clean + rm -f build + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs manual.html cup_logo.gif + dh_installchangelogs CHANGELOG + dh_installman debian/cup.1 + dh_link + dh_fixperms + dh_compress + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-arch binary-indep +.PHONY: binary binary-arch binary-indep clean --- cup-0.10k.orig/debian/cup.links +++ cup-0.10k/debian/cup.links @@ -0,0 +1 @@ +usr/share/java/cup-0.10k.jar usr/share/java/cup.jar --- cup-0.10k.orig/debian/Makefile +++ cup-0.10k/debian/Makefile @@ -0,0 +1,10 @@ +export JAVA_HOME=/usr/lib/jvm/default-java + +cup.jar: + mkdir -p classes + ${JAVA_HOME}/bin/javac -d classes java_cup/*.java java_cup/*/*.java + ${JAVA_HOME}/bin/jar mcvf debian/manifest cup.jar -C classes java_cup + +clean: + rm -fr cup.jar classes/* + --- cup-0.10k.orig/debian/control +++ cup-0.10k/debian/control @@ -0,0 +1,22 @@ +Source: cup +Section: devel +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Arnaud Vandyck , Michael Koch +Build-Depends: debhelper (>= 4.2.30), default-jdk +Standards-Version: 3.7.3 +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.10k.orig/debian/compat +++ cup-0.10k/debian/compat @@ -0,0 +1 @@ +4 --- cup-0.10k.orig/debian/changelog +++ cup-0.10k/debian/changelog @@ -0,0 +1,126 @@ +cup (0.10k-7ubuntu1) intrepid; urgency=low + + * (Build-)depend on default-jre/-jdk. + + -- Matthias Klose Wed, 30 Jul 2008 16:58:53 +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.10k.orig/debian/cup.sh +++ cup-0.10k/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.10k.orig/debian/manifest +++ cup-0.10k/debian/manifest @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 +Main-Class: java_cup/Main --- cup-0.10k.orig/debian/watch +++ cup-0.10k/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.10k.orig/debian/cup.1 +++ cup-0.10k/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.10k.orig/debian/doc-base +++ cup-0.10k/debian/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.10k.orig/debian/copyright +++ cup-0.10k/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.