debian/0000755000000000000000000000000012136244305007166 5ustar debian/libantlr-dev.dirs0000644000000000000000000000005312136157377012446 0ustar usr/bin usr/lib usr/share/doc/libantlr-dev debian/maven.rules0000644000000000000000000000003512136157377011362 0ustar antlr antlr jar s/2\..*/2.x/ debian/antlr-doc.dirs0000644000000000000000000000003012136157377011741 0ustar usr/share/doc/antlr-doc debian/README.source0000644000000000000000000000244612136157377011367 0ustar The following files got removed from the upstream release tarball as of 2.7.6: examples/java/unicode.IDENTs/ShowString.java examples/java/unicode.IDENTs/StreamConverter.java See Debian bug #340049 for more details. This package uses quilt in order to apply patches to the upstream source. Patches are stored in debian/patches. For further details, see the man page for quilt. All commands described below should be run from the top directory of the package source tree, unless otherwise stated. * To generate the fully patched source, in a form ready for editing, that would be built to create Debian packages, run: export QUILT_PATCHES=debian/patches quilt push -a * To modify the source and save those modifications so that they will be applied when building the package, pick a suitably informative patch file name, for example Modify_README.source, and then run: export QUILT_PATCHES=debian/patches quilt new Modify_README.source quilt edit README.source This will place you in your default editor to modify the file. Once your are done editing, save the file and run: quilt refresh * To remove source modifications that are currently being applied when building the package, run: export QUILT_PATCHES=debian/patches quilt top debian/runantlr.10000644000000000000000000000347112136157377011136 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH ANTLR 1 "December 22, 2001" GNU antlr .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH "NAME" ANTLR \- ANother Tool for Language Recognition .SH "SYNOPSIS" .B java antlr.Tool .B or .B runantlr [\fI"args"\fR] \fIfile.g\fR .br .SH "DESCRIPTION" ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions. .TP \fB\-o\fR \fIoutputDir\fR specify output directory where all output generated. .TP \fB\-glib\fR \fIsuperGrammar\fR specify location of supergrammar file. .TP \fB\-debug\fR launch the ParseView debugger upon parser invocation. .TP \fB\-html\fR generate an html file from your grammar (minus actions). .TP \fB\-diagnostic\fR generate a textfile with diagnostics. .TP \fB\-trace\fR have all rules call traceIn/traceOut. .TP \fB\-traceParser\fR have parser rules call traceIn/traceOut. .TP \fB\-traceLexer\fR have lexer rules call traceIn/traceOut. .TP \fB\-traceTreeParser\fR have tree parser rules call traceIn/traceOut. .SH "AUTHOR" This manual page was written by John Leuner .SH "SEE ALSO" .BR java (1), .BR http://www.antlr.org/ .br debian/rules0000755000000000000000000001364712136157377010275 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export MONO_SHARED_DIR = $(shell pwd)/debian PACKAGE := antlr VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 | cut -d- -f1 | cut -d+ -f1) configure: configure-stamp configure-stamp: dh_testdir cp /usr/share/misc/config.* scripts JAVAC='/usr/lib/jvm/default-java/bin/javac -source 1.4' CLASSPATH=`pwd` JAVA=/usr/lib/jvm/default-java/bin/java \ CSHARPC=mono-csc \ ./configure \ --prefix=/usr \ --mandir=\$${prefix}/share/man touch configure-stamp build-indep: configure build-stamp-indep build-stamp-indep: dh_testdir $(MAKE) -f debian/Makefile.debian build_antlr $(MAKE) -C lib/csharp touch build-stamp-indep # Do not depend on build-indep as B-D-I may not be available and # buildd blindly call build. Instead, binary depends on binary-indep # which in turn depends on build-indep (via install-indep). build: build-arch build-arch: configure build-stamp build-stamp: dh_testdir uudecode -o debian/antlr.snk debian/antlr.snk.uue $(MAKE) -f debian/Makefile.debian compile build_antlr $(MAKE) -C lib/cpp CXXFLAGS="+ -fPIC -DPIC" mv -f lib/cpp/src/libantlr.a debian/libantlr-pic.a $(MAKE) -C lib/cpp clean $(MAKE) -C lib/cpp touch build-stamp clean: dh_testdir dh_testroot -rm -f build-stamp build-stamp-indep configure-stamp [ ! -f debian/Makefile.debian ] || $(MAKE) -f debian/Makefile.debian clean -cd lib/cpp; $(MAKE) clean -cd lib/csharp; $(MAKE) clean -rm -rf lib/cpp/src/.deps -rm -f lib/cpp/config.sub lib/cpp/config.guess lib/cpp/config.cache lib/cpp/config.log -rm -f lib/cpp/scripts/config.sub lib/cpp/scripts/config.guess lib/cpp/scripts/config.cache lib/cpp/scripts/config.log -rm config.status config.log -find -name Makefile | xargs rm -f -rm -f scripts/*.sh -rm -f scripts/antlr-config scripts/config.deps scripts/antlr.spec scripts/config.make scripts/config.vars -rm -f scripts/config.guess scripts.config.sub -rm -f antlr/Version.java -rm -f debian/libantlr-pic.a -rm -f lib/csharp/antlr.astframe/bin/antlr.astframe.xml lib/csharp/antlr.runtime/bin/antlr.runtime.xml -rm -f debian/antlr.snk -rm -rf debian/.wapi -rm -rf debian/tmp dh_clean install-indep: build-indep dh_testdir dh_testroot dh_prep -i dh_installdirs -i dh_install -i dh_link -i $(MAKE) -f debian/Makefile.debian install DESTDIR=`pwd`/debian/antlr mv debian/antlr/usr/share/java/* debian/libantlr-java/usr/share/java/ rmdir debian/antlr/usr/share/java/ mkdir -p debian/python-antlr/usr/lib/$$(pyversions -d)/dist-packages install -m644 lib/python/antlr/antlr.py \ debian/python-antlr/usr/lib/$$(pyversions -d)/dist-packages/. install -m644 -D CHANGES.txt debian/antlr/usr/share/doc/antlr/changelog install -m644 -D CHANGES.txt debian/antlr-doc/usr/share/doc/antlr-doc/changelog mh_installpoms -plib$(PACKAGE)-java mh_linkjar -plib$(PACKAGE)-java -l debian/pom.xml usr/share/java/antlr.jar install: build dh_testdir dh_testroot dh_prep -a dh_installdirs -a dh_install -a dh_link -a $(MAKE) -C lib/cpp install prefix=`pwd`/debian/libantlr-dev/usr install -m755 scripts/antlr-config debian/libantlr-dev/usr/bin install -m644 -D CHANGES.txt debian/libantlr-dev/usr/share/doc/libantlr-dev/changelog install -m644 debian/libantlr-pic.a debian/libantlr-dev/usr/lib/ binary-indep: build-indep install-indep dh_testdir dh_testroot # C# library dh_makeclilibs -V -plibantlr2.7-cil dh_installcligac -plibantlr2.7-cil dh_clideps -plibantlr2.7-cil dh_installdocs -plibantlr2.7-cil dh_installexamples -plibantlr2.7-cil dh_installchangelogs -plibantlr2.7-cil dh_fixperms -plibantlr2.7-cil chmod a-x debian/libantlr2.7-cil/usr/lib/cli/antlr-2.7/antlr.*.dll dh_compress -plibantlr2.7-cil dh_installdeb -plibantlr2.7-cil dh_gencontrol -plibantlr2.7-cil dh_md5sums -plibantlr2.7-cil dh_builddeb -plibantlr2.7-cil # antlr-doc dh_installdocs -pantlr-doc dh_installexamples -pantlr-doc dh_installchangelogs -pantlr-doc rm -rf debian/antlr-doc/usr/share/doc/antlr-doc/examples/csharp rm -f debian/antlr-doc/usr/share/doc/antlr-doc/csharp-runtime.html rm -f debian/antlr-doc/usr/share/doc/antlr-doc/Makefile* find debian/antlr-doc/usr/share/doc/antlr-doc/examples -type f -print | xargs chmod 0644 dh_fixperms -pantlr-doc dh_compress -pantlr-doc dh_installdeb -pantlr-doc dh_gencontrol -pantlr-doc dh_md5sums -pantlr-doc dh_builddeb -pantlr-doc # antlr dh_installman -pantlr dh_installdocs -pantlr dh_installchangelogs -pantlr dh_compress -pantlr dh_fixperms -pantlr dh_installdeb -pantlr dh_gencontrol -pantlr dh_md5sums -pantlr dh_builddeb -pantlr # antlr dh_installman -plibantlr-java dh_installdocs -plibantlr-java dh_installchangelogs -plibantlr-java dh_link -plibantlr-java \ usr/share/java/antlr.jar usr/share/java/antlr.debug.jar \ usr/share/java/antlr.jar usr/share/java/antlrall.jar dh_compress -plibantlr-java dh_fixperms -plibantlr-java dh_installdeb -plibantlr-java dh_gencontrol -plibantlr-java dh_md5sums -plibantlr-java dh_builddeb -plibantlr-java # python-antlr dh_installdocs -ppython-antlr dh_installchangelogs -ppython-antlr dh_python2 -ppython-antlr dh_compress -ppython-antlr dh_fixperms -ppython-antlr dh_installdeb -ppython-antlr dh_gencontrol -ppython-antlr dh_md5sums -ppython-antlr dh_builddeb -ppython-antlr binary-arch: build install # libantlr-dev dh_testdir dh_testroot dh_installdocs -plibantlr-dev dh_installexamples -plibantlr-dev dh_installchangelogs -plibantlr-dev dh_strip -plibantlr-dev dh_compress -plibantlr-dev dh_fixperms -plibantlr-dev dh_makeshlibs -plibantlr-dev dh_installdeb -plibantlr-dev dh_shlibdeps -plibantlr-dev dh_gencontrol -plibantlr-dev dh_md5sums -plibantlr-dev dh_builddeb -plibantlr-dev binary: binary-indep binary-arch .PHONY: build build-arch build-indep clean binary-indep binary-arch binary install get-orig-pom: wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/antlr/antlr/$(VERSION)/antlr-$(VERSION).pom debian/Makefile.debian0000644000000000000000000000202012136157377012055 0ustar # *** Debian rules start here *** JAVAC=/usr/lib/jvm/default-java/bin/javac JAR=/usr/lib/jvm/default-java/bin/jar build_antlr: compile makejar #make_with_gcj JAVA_FILES=`find antlr -name '*.java'` #compile the java files from scratch and make an executable with gcj compile: $(JAVAC) -source 1.4 $(JAVA_FILES) makejar: $(JAR) cf antlr.jar `find . -name '*.class'` # cp antlr.jar antlrall.jar # cp antlr.jar antlr.debug.jar make_with_gcj: rm -f `find . -name '*.class'` /usr/lib/jvm/java-gcj/bin/gcj --main=antlr.Tool --CLASSPATH="." $(JAVA_FILES) -o cantlr clean: rm -f `find . -name '*.class'` rm -f `find . -name '*.jar'` rm -f *.so cantlr `find . -name '*.o'` install: mkdir -p $(DESTDIR)/usr/share/java install -m644 antlr.jar $(DESTDIR)/usr/share/java # install -m644 antlrall.jar $(DESTDIR)/usr/share/java # install -m644 antlr.debug.jar $(DESTDIR)/usr/share/java mkdir -p $(DESTDIR)/usr/bin cp bin/antlr $(DESTDIR)/usr/bin/runantlr chmod 755 $(DESTDIR)/usr/bin/runantlr # install -m755 cantlr $(DESTDIR)/usr/bin debian/libantlr-java.poms0000644000000000000000000000001712136157377012626 0ustar debian/pom.xml debian/antlr.manpages0000644000000000000000000000002212136157377012031 0ustar debian/runantlr.1 debian/changelog0000644000000000000000000004276512136175242011061 0ustar antlr (2.7.7+dfsg-5) unstable; urgency=low * Team upload. * Updated the watch file (contributed by Bart Martens) * Bumped Standards-Version to 3.9.4 (no changes) * debian/copyright: Updated the Format URL * debian/copyright: Fixed a typo reported by Lintian * debian/copyright: Removed the GPL header -- Emmanuel Bourg Thu, 25 Apr 2013 10:13:14 +0200 antlr (2.7.7+dfsg-4) unstable; urgency=low * Rebuild for mono-transition. (Closes: #656760) -- Niels Thykier Thu, 26 Jan 2012 16:05:41 +0100 antlr (2.7.7+dfsg-3) unstable; urgency=low * Team upload. * Build using dh_python2. -- Matthias Klose Sat, 17 Dec 2011 11:37:20 +0100 antlr (2.7.7+dfsg-2) unstable; urgency=low * Team upload. * Add build-arch target to debian/rules. -- Niels Thykier Thu, 10 Nov 2011 22:05:17 +0100 antlr (2.7.7+dfsg-1) unstable; urgency=low * Remove 2 non-free files from orig tarball. Thanks to Sam Geeraerts. (Closes: #643576) * Do no longer build packages cantlr and libantlr-java-gcj. -- Torsten Werner Thu, 29 Sep 2011 22:29:52 +0200 antlr (2.7.7-17) unstable; urgency=low * Team upload. [ Niels Thykier ] * Bumped Stands-Versions to 3.9.0. - Added some missing Breaks. * Removed Arnaud Vandyck, John Leuner and Barry Hawkins from uploaders. Thanks for your work on this package. * Replaced B-D on default-jdk-builddep with gcj-native-helper and default-jdk. [ tony mancill ] * Bumped Stands-Versions to 3.9.2. (no changes) * Update debian/copyright format to DEP-5. * Remove cantlr Depends on gij. (Closes: #628380) -- tony mancill Mon, 30 May 2011 12:46:57 -0700 antlr (2.7.7-16) unstable; urgency=low * Team upload. * Removed java-gcj-compat-dev from Depends. It is not needed anymore. (Closes: #572164) * Corrected java depends to reflect the target version of the resulting class files. * Bumped Standards-Version to 3.8.4 - no changes required. * Added missing Replaces to python-antlr (Closes: #557876) * Bumped debhelper compat to 7. * Removed empty dir from the antlr package. * Converted source to 3.0 (quilt). * Registered antlr's documentation with doc-base. * Added description to gcc.diff and converted bin__antlr.diff's description to a DEP-3 like format. -- Niels Thykier Tue, 23 Mar 2010 11:16:02 +0100 antlr (2.7.7-15) unstable; urgency=low * Use mono-csc as $CSHARPC. (Closes: #571032) * Add missing ${cli:Depends} to libantlr2.7-cil. -- Torsten Werner Sun, 28 Feb 2010 18:51:11 +0100 antlr (2.7.7-14) unstable; urgency=low * Add debian/patches/antlr-cs-signing.patch to sign C# dlls (Closes: #540737). * Add debian/patches/antlr-config.patch to support --cxxflags for antlr-config (Closes: #523051). * Build-Depend on debhelper (>= 5) and cli-common-dev (>= 0.7). * Make sure DLLs in libantlr2.7-cli are not executable. * Moved source, libantlr-java and libantlr-java-gcj to section java. * Moved libantlr2.7-cil to section cli-mono. * Updated Standards-Version to 3.8.3. -- Michael Koch Mon, 07 Sep 2009 21:44:27 +0200 antlr (2.7.7-13) unstable; urgency=low * Upload to unstable. -- Torsten Werner Sun, 09 Aug 2009 09:58:42 +0200 antlr (2.7.7-12) experimental; urgency=low * Bump standard version to 3.8.2 (no changes) * Add a Build-Depends-Indep dependency on maven-repo-helper * Add the Maven POM and deploy the jar in the Maven repository. * Set architecture to any for libantlr-dev (Closes: #505665) * Fix installation of changelog for cantlr and libantlt-dev packages -- Ludovic Claude Mon, 20 Jul 2009 23:06:06 +0100 antlr (2.7.7-11) unstable; urgency=low [ Jan Dittberner ] * add debian/patches/bin___antlr.diff, add it to debian/patches/series and make it replace bin/antlr (fixes lintian warning patch-system-but-direct-changes-in-diff) * debian/rules: remove unnecessary dh_pysupport for antlr package as Python code moved to python-antlr in 2.7.7-10 * debian/control: - update Standards-Version to 3.8.0 - add ${misc:Depends} to Depends of all binary packages (fixes lintian warnings debhelper-but-no-misc-depends) * debian/README.source: add information on how to use quilt [ Torsten Werner ] * Switch to mono-devel (aka transition to Mono 2.0). (Closes: #517560) -- Torsten Werner Sat, 28 Feb 2009 20:26:45 +0100 antlr (2.7.7-10) unstable; urgency=low [ Torsten Werner ] * Add myself to Uploaders. * Convert changes to Charscanner.hpp to a patch file and improve this patch for gcc 4.4 thanks to Martin Michlmayr. (Closes: #505366) [ Jan Dittberner ] * Fix watch file. (Closes: #511862) * Create a separate package python-antlr. (Closes: #511306) * Add missing build-dependency java-gcj-compat-dev. (Closes: #511849) [ Asheesh Laroia ] * Fixed cantlr package to depend on libantlr-java-gcj rather than nonexistent antlr-gcj (finishing migration started in 2.7.7-8). (Closes: #504050) -- Torsten Werner Thu, 15 Jan 2009 20:37:44 +0100 antlr (2.7.7-9) unstable; urgency=low * libantlr-java{,-gcj}: Fix typos in dependencies. -- Matthias Klose Tue, 21 Oct 2008 01:08:32 +0200 antlr (2.7.7-8) unstable; urgency=low * Build a libantlr-java package, without dependency on a java runtime. Needed to bootstrap gcj without having a java runtime installed. * Rename antlr-gcj to libantlr-java-gcj. * Explicitely call javac with -source 1.4. -- Matthias Klose Mon, 20 Oct 2008 08:01:58 +0200 antlr (2.7.7-7) unstable; urgency=low [Michael Koch] * Updated watch file to match only Antlr v2. [Matthias Klose] * antlr: Depend on default-jre-headless. * Don't directly build-depend on gcj. * Build a antlr-gcj package, replace cantlr with a shell script to use it. -- Matthias Klose Sun, 12 Oct 2008 21:47:32 +0200 antlr (2.7.7-6) unstable; urgency=low * Made libantlr-cil arch:all, fixed debian/rules to build it only be building arch:all stuff and moved all the needed build dependencies to Build-Depends-Indep. Closes: 483558. -- Michael Koch Fri, 30 May 2008 21:24:44 +0200 antlr (2.7.7-5) unstable; urgency=low * Build-Depends on default-jdk-builddep. Closes: #477843 * Added Homepage, Vcs-Svn and Vcs-Browser fields. -- Michael Koch Tue, 29 Apr 2008 18:09:47 -0100 antlr (2.7.7-4) unstable; urgency=low * Add ${python:Depends} to Depends of antlr. Closes: #468415. -- Michael Koch Thu, 28 Feb 2008 22:06:17 +0100 antlr (2.7.7-3) unstable; urgency=low * Enable building of cshart libs. Closes: #369010 - Add antrl.snk.uue key for signing CLI assemblies. - Use dh_installcligac to install assembiles in the GAC. - Replace \ with / in nant build file. Thanks to Sam Clegg for the patch. -- Michael Koch Sun, 20 Jan 2008 10:10:58 +0100 antlr (2.7.7-2) unstable; urgency=low * Removed Build-Depends pn libgcj-dev. Closes: #359727 * Removed strip call in debian/Makefile.debian. Closes: #436463 -- Michael Koch Sun, 06 Jan 2008 00:52:30 +0100 antlr (2.7.7-1) unstable; urgency=low * New upstream release. * Updated Standards-Version to 3.7.3. -- Michael Koch Fri, 28 Dec 2007 20:59:10 +0100 antlr (2.7.6-10) unstable; urgency=low * Applied patch to lib/cpp/antlr/CharScanner.hpp to make it compile with gcc-4.3. Closes: #451831. * Updated watch file. Closes: #449655. * Check for existance of debian/Makefile.debian before running it. * Install CHANGES.txt as upstream changelog file. -- Michael Koch Thu, 29 Nov 2007 12:35:44 +0100 antlr (2.7.6-9) unstable; urgency=low * Rebuild against libgcj7-1. Closes: #427331. * Fixed typo in antlr-config script. Closes: #402896. -- Michael Koch Sun, 03 Jun 2007 20:25:14 +0200 antlr (2.7.6-8) unstable; urgency=low * Added proper python support. Thanks to Bernd Zeimitz. Closes: #414847. * Put documentation into antlr-doc package. Thanks to Bernd Zeimetz. * Build with java-gcj-compat-dev. * Don't Build-Depends on autotools-dev twice. * Introduce debian/compat instead of DH_COMPAT var in debian/rules. * Fixed older changelog entries to fix lintian warnings. -- Michael Koch Sat, 21 Apr 2007 11:16:03 +0200 antlr (2.7.6-7) unstable; urgency=high * Added Build-Conflict with mono-jit (Closes: #409726). -- Michael Koch Tue, 6 Feb 2007 07:59:27 +0100 antlr (2.7.6-6) unstable; urgency=low * Install antlr.py in install-indep target so it gets included for real (Closes: #368965). -- Michael Koch Sun, 28 May 2006 09:21:57 +0000 antlr (2.7.6-5) unstable; urgency=low * Copy config.guess and config.sub into scripts during build (Closes: #352203). * Rebuild against new default gcj. * Updated Standards-Version to 3.7.2. -- Michael Koch Tue, 16 May 2006 10:53:54 +0000 antlr (2.7.6-4) unstable; urgency=low * Fixed build of package to not create dirs outside of package root. * Fix #352203 for real by Build-Depending on autotools-dev and copying the needed files. -- Michael Koch Sat, 11 Feb 2006 16:42:55 +0000 antlr (2.7.6-3) unstable; urgency=low * Provide static library compile with PIC (Closes: #351618). * Updated config.guess and config.sub (Closes: #352203). -- Michael Koch Sat, 11 Feb 2006 10:29:56 +0000 antlr (2.7.6-2) unstable; urgency=low * Added Build-Depends on python. -- Michael Koch Thu, 26 Jan 2006 11:14:28 +0000 antlr (2.7.6-1) unstable; urgency=low * New upstream release - Works with hibernate (Closes: #329980) - Removed two files from orig upstream tarball. See debian/README.source (Closes: #340049). * debian/control: libantlr-dev: Removed Depends on build essential packages libc6-dev and libstdc++5-3.3-dev (Closes: #317373). * Added antlr-config script to libantlr-dev (Closes: #336622). * Inluded python module in antlr package (Closes: #308356). * Cleaned up debian/rules. -- Michael Koch Tue, 24 Jan 2006 23:12:32 +0000 antlr (2.7.5-8) unstable; urgency=low * Moved Makefile.debian to debian/Makefile.debian and changed the hardcoded version in this file to gcj -- Arnaud Vandyck Wed, 17 Aug 2005 23:38:13 +0200 antlr (2.7.5-7) unstable; urgency=low * Change to default packages for gcj and libgcj-dev to build native version * Updated standards version to 3.6.2 -- Barry Hawkins Thu, 4 Jul 2005 10:51:21 -0400 antlr (2.7.5-6) unstable; urgency=low * Use gcj-3.4 to build native version * Include antlr.debug.misc.* classes (Closes: #299544) -- Michael Koch Sat, 2 Apr 2005 20:30:51 +0000 antlr (2.7.5-5) unstable; urgency=low * Cleanup generated files. -- Michael Koch Fri, 1 Apr 2005 10:20:52 +0000 antlr (2.7.5-4) unstable; urgency=low * antlr: make example files not executable -- Michael Koch Fri, 1 Apr 2005 09:30:03 +0000 antlr (2.7.5-3) unstable; urgency=low * Fixed Build-Depends on libgcj-dev (Closes: #302325) * Fixed configure rules in debian/rules (Closes: #299018) * Rebuild with gcc from unstable (Closes: #301508) * Correctly strip binary files in debian/rules -- Michael Koch Fri, 1 Apr 2005 07:59:15 +0000 antlr (2.7.5-2) unstable; urgency=low * Put files into libantlr-dev (Closes: #294746) Thanks to Mike O'Connor for the patch * Added myself to Uploaders -- Michael Koch Thu, 10 Mar 2005 08:08:24 +0000 antlr (2.7.5-1) unstable; urgency=low * New upstream release * no need to go to lib/cpp and run make no more -- Arnaud Vandyck Wed, 2 Feb 2005 18:35:05 +0100 antlr (2.7.4-6) unstable; urgency=low * debian/watch: corrected, thanks to Justin Pryzby. -- Arnaud Vandyck Fri, 1 Oct 2004 11:39:28 +0200 antlr (2.7.4-5) unstable; urgency=low * changed libgcj5-dev to libgcj4-dev. Default gcj is still 3.3 serie (closes: #273428). * debian/watch: added. -- Arnaud Vandyck Wed, 29 Sep 2004 10:20:01 +0200 antlr (2.7.4-4) unstable; urgency=low * reworked depends field (closes: #268605). -- Arnaud Vandyck Mon, 30 Aug 2004 23:48:46 +0200 antlr (2.7.4-3) unstable; urgency=low * added a build-depends on libgcj4-dev, thanks to Daniel Schepler (Closes: #253615) * debian/rules(clean): removed the rm config.status and config.log -- Arnaud Vandyck Sat, 12 Jun 2004 18:24:08 +0200 antlr (2.7.4-2) unstable; urgency=low * removed the cantlr manpage from antlr package. -- Arnaud Vandyck Thu, 10 Jun 2004 01:09:13 +0200 antlr (2.7.4-1) unstable; urgency=low * New upstream release * New maintainer Debian Java Maintainers, John and I are uploaders * debian/copiryght: removed the (s) around Author. * debian/control: - added kaffe | gij | sablevm as java-virtual-machine alternatives - Standards-Version: 3.6.1 * Re-enable native-code version (Closes: #84909, #193353) * Added examples and docs, removed usr/sbin and usr/lib (Closes: #238826) * arch-dep and indep build are now separated, it should (Closes: #223143) -- Arnaud Vandyck Thu, 27 May 2004 12:05:35 +0200 antlr (2.7.3-1) unstable; urgency=low * New upstream version -- John Leuner Thu, 8 Apr 2004 15:12:37 +0200 antlr (2.7.2-6) unstable; urgency=low * changed debhelper compatibility level to 4 * added versioned dependency on debhelper -- John Leuner Sat, 1 Nov 2003 10:44:41 +0200 antlr (2.7.2-5) unstable; urgency=low * Changed C++ library dependency from libstdc++ 2.10 to libstdc++ 5 (Closes: #214155) -- John Leuner Thu, 16 Oct 2003 18:47:35 +0200 antlr (2.7.2-4) unstable; urgency=low * Built on sid with gcc 3.3.2 (Closes: #214155) -- John Leuner Sun, 12 Oct 2003 14:44:20 +0200 antlr (2.7.2-3) unstable; urgency=low * Applied patch from Kristian G. Kvilekval which fixes a behaviour change from 2.7.1 to 2.7.2. (Closes: #206489) -- John Leuner Thu, 4 Sep 2003 19:19:56 +0200 antlr (2.7.2-2) unstable; urgency=low * Created symlinks to antlr.debug.jar and antlrall.jar (Closes: #194953) -- John Leuner Mon, 18 Aug 2003 13:50:11 +0100 antlr (2.7.2-1) unstable; urgency=low * New upstream version * No longer builds libantlr.la (upstream build system has changed) * antlr package is now for all architectures -- John Leuner Sun, 18 May 2003 19:56:09 +0100 antlr (2.7.1-13) unstable; urgency=low * More changes to fix out of date build scripts (this time in scripts directory) -- John Leuner Fri, 18 Oct 2002 15:05:55 +0100 antlr (2.7.1-12) unstable; urgency=low * Applied changes from Henrique de Moraes Holschuh to fix problems with out-of-date autobuild files -- John Leuner Mon, 30 Sep 2002 11:13:44 +0100 antlr (2.7.1-11) unstable; urgency=low * Changed dependency from Kaffe to classpath (Closes: #147235) -- John Leuner Fri, 24 May 2002 14:01:16 +0100 antlr (2.7.1-10) unstable; urgency=low * Renamed /usr/bin/antlr to /usr/bin/runantlr because it conflicts with pccts. Closes: #127898 -- John Leuner Mon, 7 Jan 2002 13:54:11 +0000 antlr (2.7.1-9) unstable; urgency=low * Created shell script in /usr/bin that will run antlr.Tool -- John Leuner Fri, 4 Jan 2002 14:10:52 +0000 antlr (2.7.1-8) unstable; urgency=low * Changed install to not set execute permissions on jar files -- John Leuner Thu, 3 Jan 2002 18:07:00 +0000 antlr (2.7.1-7) unstable; urgency=low * Applied man page formatting patch by Richard Tibbet -- John Leuner Thu, 3 Jan 2002 17:54:29 +0000 antlr (2.7.1-6) unstable; urgency=low * Changed Makefile to make the build shell scripts executable (seems to fail with build daemons) (Closes: #105733) -- John Leuner Wed, 18 Jul 2001 18:07:35 +0000 antlr (2.7.1-5) unstable; urgency=low * Changed debian/rules to remove /lib/cpp/src/.deps after make clean. Should fix bugs on hppa,ia64,ppc,m68k -- John Leuner Sat, 14 Jul 2001 14:16:27 +0000 antlr (2.7.1-4) unstable; urgency=low * Version 4 of this package, now compiles the java files (previously I used precompiled classes). Because of this antlr.jar, antlr.debug.jar and antlrall.jar are all copies of the same file (I couldn't determine exactly which files belong where). * Removed *ex* files from debian directory -- John Leuner Sat, 14 Apr 2001 12:05:09 +0000 antlr (2.7.1-3) unstable; urgency=low * Changed the Depends: antlr to Recommends for the libantlr-dev package -- John Leuner Sat, 7 Apr 2001 12:40:50 +0000 antlr (2.7.1-2) unstable; urgency=low * Added the c++ library support. Changes to package made by W. Borgert (debacle@debian.org -- John Leuner Tue, 13 Feb 2001 21:43:23 +0000 antlr (2.7.1-1) unstable; urgency=low * Initial Release. -- John Leuner Tue, 26 Dec 2000 15:07:44 +0000 debian/pom.xml0000644000000000000000000000117012136157377010516 0ustar 4.0.0 antlr antlr jar 2.7.7 AntLR Parser Generator A framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. http://www.antlr.org/ BSD License http://www.antlr.org/license.html repo debian/antlr-cil-2.7.pc0000644000000000000000000000035312136157377011720 0ustar prefix=/usr exec_prefix=${prefix} libdir=${prefix}/lib/cli/antlr-2.7 Name: Antlr Description: language tool for constructing recognizers, compilers etc Version: 2.7 Libs: -r:${libdir}/antlr.runtime.dll -r:${libdir}/antlr.astframe.dll debian/antlr-doc.docs0000644000000000000000000000000612136157377011733 0ustar doc/* debian/antlr.snk.uue0000644000000000000000000000152612136157377011640 0ustar begin 644 antlr.snk.uue M!P(````D``!24T$R``0``!$```"_&Y7B2L#1&)Q;47.U2+]3=?2V!EK^_?U[ M^1L]'<]N!L-)*7!66*)[X_%>H[$,:>W00EW)W$8]8EC\'@`E$T.""`-9#H)X MV8B&_FB3K#R(\+'TATB;?@L4\+"E^I*4F=F5BE=!7UXSRZN4T7(H?ARY>L1Z M7X-3X[K72E+&H'V-JI$;FO9+%.`?:W7L(3[V5X[/1\BI'CL+=$Y?'N? M-!+F5W%R@TST"7P#H];EON(9&_\BTQ\!>8=D(I0"EEUT5:*SS3GP M]@K_$AG"[O;6$FKA,>VV%7EXGT1[[^<(L=2/_\\\O?MW[+PUD_B5`DIP\&W) M`<,9&)C8,;NR;8'G5H2U MQH0O'4P7R>HL"/>+H^R0#7@8W@` ` end debian/antlr-doc.doc-base0000644000000000000000000000032412136157377012463 0ustar Document: antlr-doc Title: Antlr Documentation Author: Terence Parr Abstract: How to use Antlr Section: Programming Format: HTML Index: /usr/share/doc/antlr-doc/index.html Files: /usr/share/doc/antlr-doc/*.html debian/compat0000644000000000000000000000000212136157377010400 0ustar 7 debian/pyversions0000644000000000000000000000000512136157377011341 0ustar 2.3- debian/cantlr.manpages0000644000000000000000000000002012136157377012172 0ustar debian/cantlr.1 debian/README.Debian0000644000000000000000000000067512136157377011253 0ustar antlr for Debian ---------------------- * Version 4 of this package, now compiles the java files (previously I used precompiled classes). Because of this antlr.jar, antlr.debug.jar and antlrall.jar are all copies of the same file (I couldn't determine exactly which files belong where). * This package installs antlr.jar, antlr.debug.jar and antlrall.jar in /usr/share/java -- John Leuner , Tue, 26 Dec 2000 15:07:44 +0000 debian/copyright0000644000000000000000000000412412136175073011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ANTLRv2 Upstream-Contact: Terence Parr Source: http://www.antlr2.org/ Files: * Copyright: 1989-2011 Terence Parr License: SOFTWARE RIGHTS . ANTLR 1989-2006 Developed by Terence Parr Partially supported by University of San Francisco & jGuru.com . We reserve no legal rights to the ANTLR--it is fully in the public domain. An individual or company may do whatever they wish with source code distributed with ANTLR or the code generated by ANTLR, including the incorporation of ANTLR, or its output, into commercial software. . We encourage users to develop software with ANTLR. However, we do ask that credit is given to us for developing ANTLR. By "credit", we mean that if you use ANTLR or incorporate any source code into one of your programs (commercial product, research project, or otherwise) that you acknowledge this fact somewhere in the documentation, research report, etc... If you like ANTLR and have developed a nice tool with the output, please mention that you developed it using ANTLR. In addition, we ask that the headers remain intact in our source code. As long as these guidelines are kept, we expect to continue enhancing this system and expect to make other tools available as they are completed. . The primary ANTLR guy: . Terence Parr parrt@cs.usfca.edu parrt@antlr.org Files: debian/* Copyright: 2000-2011, John Leuner 2004-2011, Arnaud Vandyck 2005-2011, Michael Koch 2005-2011, Barry Hawkins 2008-2011, Matthias Klose 2009-2011, Torsten Werner 2009-2011, Ludovic Claude 2010-2011, Niels Thykier 2011, tony mancill License: GPL-2+ On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/libantlr-java.dirs0000644000000000000000000000005312136157377012611 0ustar usr/share/doc/libantlr-java usr/share/java debian/libantlr2.7-cil.install0000644000000000000000000000020612136157377013373 0ustar debian/antlr-cil-2.7.pc /usr/lib/pkgconfig lib/antlr.astframe.dll /usr/lib/cli/antlr-2.7 lib/antlr.runtime.dll /usr/lib/cli/antlr-2.7 debian/antlr-doc.examples0000644000000000000000000000001312136157377012617 0ustar examples/* debian/antlr.dirs0000644000000000000000000000003412136157377011202 0ustar usr/bin usr/share/doc/antlr debian/cantlr.dirs0000644000000000000000000000003512136157377011346 0ustar usr/bin usr/share/doc/cantlr debian/control0000644000000000000000000001031212136157577010604 0ustar Source: antlr Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Torsten Werner Build-Depends: debhelper (>= 7), default-jdk, python (>= 2.6.6-3~), autotools-dev, python-all-dev (>= 2.3.5-11), sharutils Build-Depends-Indep: maven-repo-helper, nant, cli-common-dev (>= 0.7), mono-devel | c-sharp-compiler, libmono-winforms2.0-cil Standards-Version: 3.9.4 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/antlr Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/antlr Homepage: http://www.antlr2.org/ Package: antlr Architecture: all Depends: ${misc:Depends}, libantlr-java (= ${binary:Version}), default-jre-headless | java5-runtime-headless | java6-runtime-headless Description: language tool for constructing recognizers, compilers etc ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. . Computer language translation has become a common task. While compilers and tools for traditional computer languages (such as C or Java) are still being built, their number is dwarfed by the thousands of mini-languages for which recognizers and translators are being developed. Programmers construct translators for database formats, graphical data files (e.g., PostScript, AutoCAD), text processing files (e.g., HTML, SGML). ANTLR is designed to handle all of your translation tasks. Package: libantlr-java Architecture: all Depends: ${misc:Depends} Replaces: antlr (<< 2.7.7-8) Breaks: antlr (<< 2.7.7-8) Description: language tool for constructing recognizers, compilers etc (java library) ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. . This package contains the java libraries without a dependency on any runtime to be able to bootstrap gcj without a dependency on a java runtime. Package: libantlr-dev Section: libdevel Architecture: any Depends: ${misc:Depends} Recommends: antlr Description: language tool for constructing recognizers, compilers etc ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. . These are the static libraries for C++. Package: libantlr2.7-cil Section: cli-mono Architecture: all Depends: ${misc:Depends}, ${cli:Depends} Recommends: antlr Description: language tool for constructing recognizers, compilers etc ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. . This package contains the C# (CLI) libraries. Package: antlr-doc Section: doc Architecture: all Depends: ${misc:Depends} Conflicts: antlr (<< 2.7.6-8) Description: language tool for constructing recognizers, compilers etc This package contains the documentation and examples for antlr. ANTLR stands for ANother Tool for Language Recognition, (formerly PCCTS). It is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions [You can use PCCTS 1.xx to generate C-based parsers]. . See antlr package for a complete description Package: python-antlr Section: python Architecture: all Depends: ${misc:Depends}, ${python:Depends} Replaces: antlr (<< 2.7.7-10) Breaks: antlr (<< 2.7.7-10) Description: language tool for constructing recognizers, compilers etc This package contains the Python version of antlr. ANTLR stands for ANother Tool for Language Recognition, (formerly PCCTS). . See antlr package for a complete description. debian/watch0000644000000000000000000000031612136160044010214 0ustar version=3 opts=dversionmangle=s/(\d)[\+\.\-~](?:dfsg|debian|ds|repack)\.?\d*$/$1/ \ http://www.antlr2.org/download.html \ (?:.*/|.*=|)antlr[\-\._](\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)(?:/\S*)? debian/libantlr2.7-cil.installcligac0000644000000000000000000000012312136157377014534 0ustar /usr/lib/cli/antlr-2.7/antlr.astframe.dll /usr/lib/cli/antlr-2.7/antlr.runtime.dll debian/patches/0000755000000000000000000000000012136157377010631 5ustar debian/patches/series0000644000000000000000000000010412136157377012041 0ustar gcc.diff bin___antlr.diff antlr-cs-signing.patch antlr-config.patch debian/patches/antlr-config.patch0000644000000000000000000000053512136157377014240 0ustar --- antlr-2.7.7/scripts/antlr-config.in.orig 2009-09-07 21:59:39.000000000 +0200 +++ antlr-2.7.7/scripts/antlr-config.in 2009-09-07 22:00:07.000000000 +0200 @@ -48,7 +48,7 @@ echo @PACKAGE_VERSION@ exit 0 ;; - --cflags|-cxxflags) + --cflags|--cxxflags|-cxxflags) includes="-I${includedir}" echo_cflags="yes" ;; debian/patches/gcc.diff0000644000000000000000000000074212136157377012222 0ustar Description: Adds missing includes to fix FTBFS. Index: antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp =================================================================== --- antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp 2006-11-01 22:37:17.000000000 +0100 +++ antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp 2009-01-15 20:47:53.000000000 +0100 @@ -17,6 +17,8 @@ #else #include #endif +#include +#include #if ( _MSC_VER == 1200 ) // VC6 seems to need this debian/patches/bin___antlr.diff0000644000000000000000000000046112136157377013732 0ustar Description: Add bin/antlr script --- antlr-2.7.7.orig/bin/antlr +++ antlr-2.7.7/bin/antlr @@ -0,0 +1,5 @@ +#!/bin/sh +echo Running 'java antlr.Tool $*' with /usr/share/java/antlr.jar appended to the CLASSPATH variable +export CLASSPATH +CLASSPATH=$CLASSPATH:/usr/share/java/antlr.jar +java antlr.Tool $* debian/patches/antlr-cs-signing.patch0000644000000000000000000000163612136157377015037 0ustar --- antlr-2.7.7.orig/lib/csharp/antlr.astframe/AssemblyInfo.cs +++ antlr-2.7.7/lib/csharp/antlr.astframe/AssemblyInfo.cs @@ -31,12 +31,10 @@ [assembly: CLSCompliantAttribute(true)] -#if STRONGNAME #pragma warning disable 1699 [assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("org.antlr.snk")] +[assembly: AssemblyKeyFile("/usr/share/cli-common/keys/mono.snk")] #pragma warning restore 1699 -#endif #if APTC --- antlr-2.7.7.orig/lib/csharp/antlr.runtime/AssemblyInfo.cs +++ antlr-2.7.7/lib/csharp/antlr.runtime/AssemblyInfo.cs @@ -32,12 +32,10 @@ [assembly: CLSCompliantAttribute(true)] -#if STRONGNAME #pragma warning disable 1699 [assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("org.antlr.snk")] +[assembly: AssemblyKeyFile("/usr/share/cli-common/keys/mono.snk")] #pragma warning restore 1699 -#endif #if APTC [assembly: System.Security.AllowPartiallyTrustedCallers] debian/libantlr2.7-cil.dirs0000644000000000000000000000002612136157377012666 0ustar usr/lib/cli/antlr-2.7 debian/cantlr.10000644000000000000000000000342012136157377010546 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH ANTLR 1 "December 22, 2001" GNU antlr .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH "NAME" ANTLR \- ANother Tool for Language Recognition .SH "SYNOPSIS" .B cantlr [\fI"args"\fR] \fIfile.g\fR .br .SH "DESCRIPTION" ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions. .TP \fB\-o\fR \fIoutputDir\fR specify output directory where all output generated. .TP \fB\-glib\fR \fIsuperGrammar\fR specify location of supergrammar file. .TP \fB\-debug\fR launch the ParseView debugger upon parser invocation. .TP \fB\-html\fR generate an html file from your grammar (minus actions). .TP \fB\-diagnostic\fR generate a textfile with diagnostics. .TP \fB\-trace\fR have all rules call traceIn/traceOut. .TP \fB\-traceParser\fR have parser rules call traceIn/traceOut. .TP \fB\-traceLexer\fR have lexer rules call traceIn/traceOut. .TP \fB\-traceTreeParser\fR have tree parser rules call traceIn/traceOut. .SH "AUTHOR" This manual page was written by John Leuner .SH "SEE ALSO" .BR http://www.antlr.org/ .br debian/source/0000755000000000000000000000000012136157377010502 5ustar debian/source/format0000644000000000000000000000001412136157377011710 0ustar 3.0 (quilt) debian/.mh/0000755000000000000000000000000012136163306007651 5ustar debian/.mh/pom.xml0000644000000000000000000000205412136163306011167 0ustar 4.0.0 antlr antlr 2.x jar antlr antlr jar s/2\..*/2.x/ * * 2.7.7 libantlr-java AntLR Parser Generator A framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. http://www.antlr.org/ BSD License http://www.antlr.org/license.html repo debian/.mh/pom.properties0000644000000000000000000000020312136163306012555 0ustar #POM properties #Thu Apr 25 10:18:14 CEST 2013 version=2.7.7 groupId=antlr debianVersion=2.x type=jar classifier= artifactId=antlr debian/.mh/antlr-2.x.pom0000644000000000000000000000205412136163305012113 0ustar 4.0.0 antlr antlr 2.x jar antlr antlr jar s/2\..*/2.x/ * * 2.7.7 libantlr-java AntLR Parser Generator A framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. http://www.antlr.org/ BSD License http://www.antlr.org/license.html repo debian/.mh/antlr-2.7.7.pom0000644000000000000000000000205612136163304012160 0ustar 4.0.0 antlr antlr 2.7.7 jar antlr antlr jar s/2\..*/2.x/ * * 2.7.7 libantlr-java AntLR Parser Generator A framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. http://www.antlr.org/ BSD License http://www.antlr.org/license.html repo debian/.mh/pom.properties.keep0000644000000000000000000000020312136163305013477 0ustar #POM properties #Thu Apr 25 10:18:13 CEST 2013 version=2.7.7 groupId=antlr debianVersion=2.x type=jar classifier= artifactId=antlr debian/libantlr2.7-cil.links0000644000000000000000000000010212136157377013040 0ustar usr/lib/pkgconfig/antlr-cil-2.7.pc usr/lib/pkgconfig/antlr-cil.pc debian/cantlr.sh0000755000000000000000000000030712136157377011024 0ustar #!/bin/sh echo Running 'java antlr.Tool $*' with /usr/share/java/antlr.jar appended to the CLASSPATH variable export CLASSPATH CLASSPATH=$CLASSPATH:/usr/share/java/antlr.jar exec gij antlr.Tool "$@"