--- antlr-2.7.7.orig/debian/pyversions +++ antlr-2.7.7/debian/pyversions @@ -0,0 +1 @@ +2.3- --- antlr-2.7.7.orig/debian/cantlr.1 +++ antlr-2.7.7/debian/cantlr.1 @@ -0,0 +1,63 @@ +.\" 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 + --- antlr-2.7.7.orig/debian/Makefile.debian +++ antlr-2.7.7/debian/Makefile.debian @@ -0,0 +1,37 @@ +# *** 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 --- antlr-2.7.7.orig/debian/antlr.manpages +++ antlr-2.7.7/debian/antlr.manpages @@ -0,0 +1 @@ +debian/runantlr.1 --- antlr-2.7.7.orig/debian/libantlr-java.poms +++ antlr-2.7.7/debian/libantlr-java.poms @@ -0,0 +1 @@ +debian/pom.xml --- antlr-2.7.7.orig/debian/antlr-cil-2.7.pc +++ antlr-2.7.7/debian/antlr-cil-2.7.pc @@ -0,0 +1,8 @@ +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 --- antlr-2.7.7.orig/debian/antlr-doc.examples +++ antlr-2.7.7/debian/antlr-doc.examples @@ -0,0 +1 @@ +examples/* --- antlr-2.7.7.orig/debian/libantlr2.7-cil.install +++ antlr-2.7.7/debian/libantlr2.7-cil.install @@ -0,0 +1,3 @@ +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 --- antlr-2.7.7.orig/debian/compat +++ antlr-2.7.7/debian/compat @@ -0,0 +1 @@ +5 --- antlr-2.7.7.orig/debian/watch +++ antlr-2.7.7/debian/watch @@ -0,0 +1,2 @@ +version=3 +opts=uversionmangle=s/rc\d// http://www.antlr2.org/download.html /download/antlr-(2\..*)\.tar\.gz debian uupdate --- antlr-2.7.7.orig/debian/control +++ antlr-2.7.7/debian/control @@ -0,0 +1,121 @@ +Source: antlr +Section: java +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Java Maintainers +Uploaders: Arnaud Vandyck , John Leuner , Michael Koch , Barry Hawkins , Torsten Werner +Build-Depends: debhelper (>= 5), default-jdk-builddep, python, autotools-dev, python-all-dev (>= 2.3.5-11), sharutils, java-gcj-compat-dev, quilt +Build-Depends-Indep: maven-repo-helper, python-support (>= 0.3), nant, cli-common-dev (>= 0.7), mono-devel | c-sharp-compiler, libmono-winforms2.0-cil +Standards-Version: 3.8.3 +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 | java1-runtime-headless | java2-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} +Suggests: libantlr-java-gcj +Replaces: 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-java-gcj +Architecture: any +Depends: ${misc:Depends}, libantlr-java (>= ${source:Version}), + ${shlibs:Depends} +Replaces: antlr-gcj +Description: language tool for constructing recognizers, compilers etc + Native support for gij 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. + +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} +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: cantlr +Section: devel +Architecture: any +Depends: ${misc:Depends}, gij, libantlr-java-gcj, ${shlibs:Depends} +Description: language tool for constructing recognizers, compilers etc + This is the native-compiled version of 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: 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} +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. + --- antlr-2.7.7.orig/debian/pom.xml +++ antlr-2.7.7/debian/pom.xml @@ -0,0 +1,22 @@ + + 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 + + + + --- antlr-2.7.7.orig/debian/copyright +++ antlr-2.7.7/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by John Leuner on +Tue, 26 Dec 2000 15:07:44 +0000. + +It was downloaded from http://www.antlr.org/ + +Upstream Author: Terence Parr + +Copyright: + +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. + +Terence Parr, jGuru.com + --- antlr-2.7.7.orig/debian/README.Debian +++ antlr-2.7.7/debian/README.Debian @@ -0,0 +1,12 @@ +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 --- antlr-2.7.7.orig/debian/runantlr.1 +++ antlr-2.7.7/debian/runantlr.1 @@ -0,0 +1,66 @@ +.\" 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 + --- antlr-2.7.7.orig/debian/README.source +++ antlr-2.7.7/debian/README.source @@ -0,0 +1,39 @@ +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 --- antlr-2.7.7.orig/debian/python-antlr.dirs +++ antlr-2.7.7/debian/python-antlr.dirs @@ -0,0 +1 @@ +usr/share/python-support/antlr --- antlr-2.7.7.orig/debian/antlr-doc.dirs +++ antlr-2.7.7/debian/antlr-doc.dirs @@ -0,0 +1 @@ +usr/share/doc/antlr-doc --- antlr-2.7.7.orig/debian/cantlr.dirs +++ antlr-2.7.7/debian/cantlr.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/cantlr --- antlr-2.7.7.orig/debian/cantlr.sh +++ antlr-2.7.7/debian/cantlr.sh @@ -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 +exec gij antlr.Tool "$@" --- antlr-2.7.7.orig/debian/cantlr.manpages +++ antlr-2.7.7/debian/cantlr.manpages @@ -0,0 +1 @@ +debian/cantlr.1 --- antlr-2.7.7.orig/debian/libantlr2.7-cil.installcligac +++ antlr-2.7.7/debian/libantlr2.7-cil.installcligac @@ -0,0 +1,2 @@ +/usr/lib/cli/antlr-2.7/antlr.astframe.dll +/usr/lib/cli/antlr-2.7/antlr.runtime.dll --- antlr-2.7.7.orig/debian/rules +++ antlr-2.7.7/debian/rules @@ -0,0 +1,220 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export MONO_SHARED_DIR = $(shell pwd)/debian +export QUILT_PATCHES = debian/patches + +include /usr/share/gcj/debian_defaults + +PACKAGE := antlr +VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 | cut -d- -f1 | cut -d+ -f1) + +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs))) + with_native := yes +endif + +patch: debian/stamp-patch +debian/stamp-patch: + quilt push -a || test $$? = 2 + touch $@ + +unpatch: + quilt pop -a -R || test $$? = 2 + rm -rf $(CURDIR)/.pc debian/stamp-patch + +configure: patch 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=/usr/bin/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 + +build: 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: unpatch + 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_clean -k + 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/ + install -m644 lib/python/antlr/antlr.py debian/python-antlr/usr/share/python-support/antlr + 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_clean -k + 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 -m755 debian/cantlr.sh debian/cantlr/usr/bin + install -m644 -D CHANGES.txt debian/cantlr/usr/share/doc/cantlr/changelog + 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_pysupport -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 and cantlr + dh_testdir + dh_testroot + dh_installdocs -plibantlr-dev -pcantlr + dh_installexamples -plibantlr-dev -pcantlr + dh_installman -pcantlr + dh_installchangelogs -plibantlr-dev -pcantlr + dh_strip -plibantlr-dev -pcantlr + dh_compress -plibantlr-dev -pcantlr + dh_fixperms -plibantlr-dev -pcantlr + dh_makeshlibs -plibantlr-dev -pcantlr + dh_installdeb -plibantlr-dev -pcantlr + dh_shlibdeps -plibantlr-dev -pcantlr + dh_gencontrol -plibantlr-dev -pcantlr + dh_md5sums -plibantlr-dev -pcantlr + dh_builddeb -plibantlr-dev -pcantlr + +ifeq ($(with_native),yes) + if [ ! -f debian/libantlr-java/usr/share/java/antlr.jar ]; then \ + $(MAKE) -f debian/Makefile.debian install DESTDIR=`pwd`/debian/libantlr-java; \ + fi + mkdir -p debian/libantlr-java-gcj/usr/share/doc + ln -s libantlr-java debian/libantlr-java-gcj/usr/share/doc/libantlr-java-gcj + dh_nativejava -plibantlr-java-gcj + dh_strip -plibantlr-java-gcj + dh_compress -plibantlr-java-gcj + dh_fixperms -plibantlr-java-gcj + dh_makeshlibs -plibantlr-java-gcj + dh_installdeb -plibantlr-java-gcj + dh_shlibdeps -plibantlr-java-gcj + dh_gencontrol -plibantlr-java-gcj + dh_md5sums -plibantlr-java-gcj + dh_builddeb -plibantlr-java-gcj +endif + +binary: binary-indep binary-arch +.PHONY: build 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 + --- antlr-2.7.7.orig/debian/libantlr-java.dirs +++ antlr-2.7.7/debian/libantlr-java.dirs @@ -0,0 +1,2 @@ +usr/share/doc/libantlr-java +usr/share/java --- antlr-2.7.7.orig/debian/antlr-doc.docs +++ antlr-2.7.7/debian/antlr-doc.docs @@ -0,0 +1 @@ +doc/* --- antlr-2.7.7.orig/debian/libantlr2.7-cil.links +++ antlr-2.7.7/debian/libantlr2.7-cil.links @@ -0,0 +1 @@ +usr/lib/pkgconfig/antlr-cil-2.7.pc usr/lib/pkgconfig/antlr-cil.pc --- antlr-2.7.7.orig/debian/antlr.dirs +++ antlr-2.7.7/debian/antlr.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/antlr --- antlr-2.7.7.orig/debian/libantlr-dev.dirs +++ antlr-2.7.7/debian/libantlr-dev.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/lib +usr/share/doc/libantlr-dev --- antlr-2.7.7.orig/debian/antlr.snk.uue +++ antlr-2.7.7/debian/antlr.snk.uue @@ -0,0 +1,17 @@ +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 --- antlr-2.7.7.orig/debian/libantlr2.7-cil.dirs +++ antlr-2.7.7/debian/libantlr2.7-cil.dirs @@ -0,0 +1 @@ +usr/lib/cli/antlr-2.7 --- antlr-2.7.7.orig/debian/maven.rules +++ antlr-2.7.7/debian/maven.rules @@ -0,0 +1 @@ +antlr antlr jar s/2\..*/2.x/ --- antlr-2.7.7.orig/debian/changelog +++ antlr-2.7.7/debian/changelog @@ -0,0 +1,487 @@ +antlr (2.7.7-14ubuntu1) lucid; urgency=low + + * Merge with Debian; remaining changes: + - Make libantlr-java only suggest libantlr-java-gcj. + + -- Matthias Klose Tue, 27 Oct 2009 14:38:06 +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-11ubuntu1) karmic; urgency=low + + * debian/control: Make libantlr-java only suggest libantlr-java-gcj + (LP: #386307) + + -- Thierry Carrez Fri, 14 Aug 2009 14:05:41 +0200 + +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 + +Local variables: +mode: debian-changelog +End: --- antlr-2.7.7.orig/debian/patches/gcc.diff +++ antlr-2.7.7/debian/patches/gcc.diff @@ -0,0 +1,13 @@ +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 --- antlr-2.7.7.orig/debian/patches/bin___antlr.diff +++ antlr-2.7.7/debian/patches/bin___antlr.diff @@ -0,0 +1,9 @@ +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 $* --- antlr-2.7.7.orig/debian/patches/series +++ antlr-2.7.7/debian/patches/series @@ -0,0 +1,4 @@ +gcc.diff +bin___antlr.diff +antlr-cs-signing.patch +antlr-config.patch --- antlr-2.7.7.orig/debian/patches/antlr-config.patch +++ antlr-2.7.7/debian/patches/antlr-config.patch @@ -0,0 +1,11 @@ +--- 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" + ;; --- antlr-2.7.7.orig/debian/patches/antlr-cs-signing.patch +++ antlr-2.7.7/debian/patches/antlr-cs-signing.patch @@ -0,0 +1,32 @@ +--- 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]