This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository javacc.
commit 46fe533626d09cebaa3b93e9cb2add26d1e8cf0a Author: Paul Cager <[email protected]> Date: Wed Feb 7 14:20:00 2007 +0000 Added current live version of JavaCC --- debian/README.Debian | 15 +++++ debian/changelog | 41 ++++++++++++++ debian/control | 21 +++++++ debian/copyright | 12 ++++ debian/dirs | 2 + debian/manpage.sgml | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 98 ++++++++++++++++++++++++++++++++ 7 files changed, 345 insertions(+) diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..56c6378 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,15 @@ +Debian README for JavaCC +------------------------ + +JavaCC was built using JavaCC (bootstrapped). +The upstream bootstrap/javacc.jar classes were built +using a non-free compiler and closed-source classes +from previous JavaCC version. +This is the reason why it has been replaced by a +freshly rebuilt javacc.jar. Upstream javacc.jar has +been removed from upstream source (javacc-3.2.orig) +so as to ensure free-software (DFSG) compliance. + +This is the reason why javacc-3.2 was renamed javacc-3.2+0 + +Nicolas Sabouret -- Wed Feb 18 19:05:57 CET 2004 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..400f650 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,41 @@ +javacc (3.2+0-3) unstable; urgency=low + + * ant transition (closes: #331648). + * changed the dependency to kaffe | java-runtime | java1-runtime | + java2-runtime, this way, any virtual machine can be used to run + javacc. I did not change the build-dependency because it's not needed + (closes: #325579). + * Thanks to Arnaud Vandyck <[email protected]> for the patch + + -- Nicolas Sabouret <[email protected]> Thu, 13 Oct 2005 14:24:47 +0200 + +javacc (3.2+0-2) unstable; urgency=low + + * Build-depends on libant1.6-java (closes: #300935) + + -- Nicolas Sabouret <[email protected]> Sat, 14 May 2005 22:32:25 +0200 + +javacc (3.2+0-1) unstable; urgency=low + + * Build-depends on docbook-to-man + * Moved to main (closes: #225484) + See README.Debian for more information + Thanks to Josh Triplett for his patch + + -- Nicolas Sabouret <[email protected]> Wed, 26 Nov 2003 10:02:22 +0100 + +javacc (3.2-1) unstable; urgency=low + + * New upstream release + * Section: contrib/devel (closes: #202773) + * Depends: java-virtual-machine, java1-runtime (closes: #202833) + * Patched bin files (closes: #202834) + + -- Nicolas Sabouret <[email protected]> Fri, 29 Aug 2003 11:44:40 +0200 + +javacc (3.1-1) unstable; urgency=low + + * Initial Release (closes: #201350) + + -- Nicolas Sabouret <[email protected]> Tue, 15 Jul 2003 10:21:45 +0200 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..311a78a --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: javacc +Section: devel +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Nicolas Sabouret <[email protected]> +Build-Depends-Indep: debhelper (>= 4.0.0), ant, libxerces-java | libxerces2-java, kaffe, jikes, docbook-to-man +Standards-Version: 3.6.2 + +Package: javacc +Architecture: all +Depends: kaffe | java-runtime | java1-runtime | java2-runtime +Description: A parser generator for use with Java + Java Compiler Compiler [tm] (JavaCC [tm]) is (according to sun) + "the most popular parser generator" for use with Java [tm] + applications. + A parser generator is a tool that reads a grammar specification + and converts it to a Java program that can recognize matches to + the grammar. In addition to the parser generator itself, JavaCC + provides other standard capabilities related to parser + generation such as tree building (via a tool called JJTree + included with JavaCC), actions, debugging, etc. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..07ddd8a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Nicolas Sabouret <[email protected]> on +Tue, 15 Jul 2003 10:21:45 +0200. + +It was downloaded from http://javacc.dev.java.net/ + +Upstream Author: mailto:[email protected] + +Copyright: This software is licenced under the Berkeley Software + Distribution (BSD) License + +A copy of the licence is available on Debian systems in: +/usr/share/common-licenses/BSD diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e4bc73a --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/java diff --git a/debian/manpage.sgml b/debian/manpage.sgml new file mode 100644 index 0000000..16380e4 --- /dev/null +++ b/debian/manpage.sgml @@ -0,0 +1,156 @@ +<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ + +<!-- Process this file with docbook-to-man to generate an nroff manual + page: `docbook-to-man manpage.sgml > 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. + + --> + + <!-- Fill in your name for FIRSTNAME and SURNAME. --> + <!ENTITY dhfirstname "<firstname>Nicolas</firstname>"> + <!ENTITY dhsurname "<surname>Sabouret</surname>"> + <!-- Please adjust the date whenever revising the manpage. --> + <!ENTITY dhdate "<date>juillet 15, 2003</date>"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1). --> + <!ENTITY dhsection "<manvolnum>1</manvolnum>"> + <!ENTITY dhemail "<email>[email protected]</email>"> + <!ENTITY dhusername "Nicolas Sabouret"> + <!ENTITY dhucpackage "<refentrytitle>JAVACC</refentrytitle>"> + <!ENTITY dhpackage "javacc"> + + <!ENTITY debian "<productname>Debian</productname>"> + <!ENTITY gnu "<acronym>GNU</acronym>"> + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> +]> + +<refentry> + <refentryinfo> + <address> + &dhemail; + </address> + <author> + &dhfirstname; + &dhsurname; + </author> + <copyright> + <year>2003</year> + <holder>&dhusername;</holder> + </copyright> + &dhdate; + </refentryinfo> + <refmeta> + &dhucpackage; + + &dhsection; + </refmeta> + <refnamediv> + <refname>&dhpackage;</refname> + <refpurpose>a java compiler compiler</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&dhpackage;</command> + <arg>option-settings</arg> + <arg>inputfile</arg> + </cmdsynopsis> + <cmdsynopsis> + <command>jjtree</command> + <arg>option-settings</arg> + <arg>inputfile</arg> + </cmdsynopsis> + <cmdsynopsis> + <command>jjdoc</command> + <arg>inputfile</arg> + </cmdsynopsis> + </refsynopsisdiv> + + <refsect1> + <title>DESCRIPTION</title> + + <para>This manual page documents briefly the + <command>&dhpackage;</command>, <command>jjtree</command> and <command>jjdoc</command> + commands.</para> + + <para>This manual page was written for the &debian; distribution + because the original program does not have a manual page.</para> + + <para><command>&dhpackage;</command> is a parser generator for use with Java</para> + <para><command>jjtree</command> is a tree builder for &dhpackage</para> + <para><command>jjdoc</command> is a documentation generator &dhpackage</para> + + </refsect1> + <refsect1> + <title>OPTIONS</title> + + <para><userinput>&dhpackage;</userinput>, <userinput>jjtree</userinput> or + <userinput>jjdoc</userinput> without any argument prints a small help + with the list of available options.</para> + + <para>"option-settings" is a sequence of settings separated + by spaces. Each option setting must be of one of the following forms:</para> + + <para><option>-optionname=value</option> (e.g. -STATIC=false)</para> + <para><option>-optionname:value</option> (e.g. -STATIC:false)</para> + <para><option>-optionname</option> (equivalent to -optionname=true. e.g., -STATIC)</para> + <para><option>-NOoptionname</option> (equivalent to -optionname=false. e.g., -NOSTATIC)</para> + + <para>Option settings are not case-sensitive, so one can say + <option>-nOsTaTiC</option> instead of <option>-NOSTATIC</option>. + Option values must be appropriate for the corresponding option, and + must be either an integer or a string value.</para> + + <para>For a list of available options, please refer to the command's + internal help.</para> + + </refsect1> + + <refsect1> + <title>EXAMPLE</title> + <para><userinput>% &dhpackage; -STATIC=false -LOOKAHEAD:2 -debug_parser mygrammar.jj</userinput></para> + <para><userinput>% jjtree -STATIC=false mygrammar.jjt</userinput></para> + <para><userinput>% jjdoc mygrammar.jj</userinput></para> + </refsect1> + + <refsect1> + <title>AUTHOR</title> + + <para>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 under + the terms of the &gnu; Free Documentation + License, Version 1.1 or any later version published by the Free + Software Foundation; with no Invariant Sections, no Front-Cover + Texts and no Back-Cover Texts.</para> + + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:2 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:nil +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +--> + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c492af6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,98 @@ +#!/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 +DESTDIR=`pwd`/debian/tmp + +# Java home directory and the JVM executable +export JAVA_HOME=/usr/lib/kaffe +export JAVACMD=${JAVA_HOME}/bin/java + +# Class path: Ant requires an JAXP-compatible XML parser +# You need to set CLASSPATH here (even if your build.xml assembles its own +# class path) to ensure the same build results in all cases +JARS=/usr/share/java +ANT_HOME=/usr/share/ant +export CLASSPATH=${JARS}/xmlParserAPI.jar:${JARS}/xmlImpl.jar:${ANT_HOME}/lib/ant.jar:${ANT_HOME}/lib/ant-launcher.jar + +# Ant options +ANT_OPTS=-Dbuild.compiler=jikes -Dant.home=${ANT_HOME} +ANT=${JAVACMD} org.apache.tools.ant.Main ${ANT_OPTS} + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + # Add here commands to compile the package. + ${ANT} + docbook-to-man debian/manpage.sgml > debian/javacc.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + # Add here commands to clean up after the build process. + rm -f debian/javacc.1 + ${ANT} realclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # Add here commands to install the package into debian/javacc. + install -d $(DESTDIR)/usr/bin + install -m 0755 bin/javacc bin/jjdoc bin/jjtree $(DESTDIR)/usr/bin + install -d $(DESTDIR)/usr/share/java + install -m 0644 bin/lib/javacc.jar $(DESTDIR)/usr/share/java + +# Build architecture-dependent files here. +binary-arch: build install + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs www/doc + dh_installexamples examples/* +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman debian/javacc.1 + dh_link usr/share/man/man1/javacc.1 usr/share/man/man1/jjtree.1 + dh_link usr/share/man/man1/javacc.1 usr/share/man/man1/jjdoc.1 +# 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 configure -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/javacc.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

