[pkg-java] r2981 - in trunk: . javacc javacc/debian
Paul Cager
paulcager-guest at alioth.debian.org
Wed Feb 7 15:20:01 CET 2007
Author: paulcager-guest
Date: 2007-02-07 15:20:00 +0100 (Wed, 07 Feb 2007)
New Revision: 2981
Added:
trunk/javacc/
trunk/javacc/debian/
trunk/javacc/debian/README.Debian
trunk/javacc/debian/changelog
trunk/javacc/debian/control
trunk/javacc/debian/copyright
trunk/javacc/debian/dirs
trunk/javacc/debian/manpage.sgml
trunk/javacc/debian/rules
Log:
Added current live version of JavaCC
Added: trunk/javacc/debian/README.Debian
===================================================================
--- trunk/javacc/debian/README.Debian 2007-02-06 23:52:02 UTC (rev 2980)
+++ trunk/javacc/debian/README.Debian 2007-02-07 14:20:00 UTC (rev 2981)
@@ -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
Added: trunk/javacc/debian/changelog
===================================================================
--- trunk/javacc/debian/changelog 2007-02-06 23:52:02 UTC (rev 2980)
+++ trunk/javacc/debian/changelog 2007-02-07 14:20:00 UTC (rev 2981)
@@ -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 <avdyk at debian.org> for the patch
+
+ -- Nicolas Sabouret <nico at debian.org> 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 <nico at debian.org> 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 <nico at debian.org> 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 <nico at debian.org> Fri, 29 Aug 2003 11:44:40 +0200
+
+javacc (3.1-1) unstable; urgency=low
+
+ * Initial Release (closes: #201350)
+
+ -- Nicolas Sabouret <nico at debian.org> Tue, 15 Jul 2003 10:21:45 +0200
+
Added: trunk/javacc/debian/control
===================================================================
--- trunk/javacc/debian/control 2007-02-06 23:52:02 UTC (rev 2980)
+++ trunk/javacc/debian/control 2007-02-07 14:20:00 UTC (rev 2981)
@@ -0,0 +1,21 @@
+Source: javacc
+Section: devel
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Nicolas Sabouret <nico at debian.org>
+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.
Added: trunk/javacc/debian/copyright
===================================================================
--- trunk/javacc/debian/copyright 2007-02-06 23:52:02 UTC (rev 2980)
+++ trunk/javacc/debian/copyright 2007-02-07 14:20:00 UTC (rev 2981)
@@ -0,0 +1,12 @@
+This package was debianized by Nicolas Sabouret <nico at debian.org> on
+Tue, 15 Jul 2003 10:21:45 +0200.
+
+It was downloaded from http://javacc.dev.java.net/
+
+Upstream Author: mailto:sreeni at dev.java.net
+
+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
Added: trunk/javacc/debian/dirs
===================================================================
--- trunk/javacc/debian/dirs 2007-02-06 23:52:02 UTC (rev 2980)
+++ trunk/javacc/debian/dirs 2007-02-07 14:20:00 UTC (rev 2981)
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/java
Added: trunk/javacc/debian/manpage.sgml
===================================================================
--- trunk/javacc/debian/manpage.sgml 2007-02-06 23:52:02 UTC (rev 2980)
+++ trunk/javacc/debian/manpage.sgml 2007-02-07 14:20:00 UTC (rev 2981)
@@ -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>nico at debian.org</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:
+-->
+
+
Added: trunk/javacc/debian/rules
===================================================================
--- trunk/javacc/debian/rules 2007-02-06 23:52:02 UTC (rev 2980)
+++ trunk/javacc/debian/rules 2007-02-07 14:20:00 UTC (rev 2981)
@@ -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
Property changes on: trunk/javacc/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the pkg-java-commits
mailing list