[antlr] 82/87: Removed the remaining references to cantlr and gcj

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 24 14:49:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository antlr.

commit 2fc3b1e809964256aeca0f6dfc471780efdb0c9b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Oct 24 13:04:07 2017 +0200

    Removed the remaining references to cantlr and gcj
---
 debian/Makefile.debian | 11 +--------
 debian/cantlr.1        | 63 --------------------------------------------------
 debian/cantlr.dirs     |  2 --
 debian/cantlr.manpages |  1 -
 debian/cantlr.sh       |  5 ----
 debian/changelog       |  1 +
 debian/control         |  3 ---
 7 files changed, 2 insertions(+), 84 deletions(-)

diff --git a/debian/Makefile.debian b/debian/Makefile.debian
index 63d899d..8402916 100644
--- a/debian/Makefile.debian
+++ b/debian/Makefile.debian
@@ -4,10 +4,8 @@ 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 the java files from scratch and make an executable
 compile:
 	$(JAVAC) -source 1.7 $(JAVA_FILES)
 
@@ -16,14 +14,9 @@ makejar:
 #	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
@@ -33,5 +26,3 @@ install:
 	mkdir -p $(DESTDIR)/usr/bin
 	cp bin/antlr $(DESTDIR)/usr/bin/runantlr
 	chmod 755 $(DESTDIR)/usr/bin/runantlr
-
-#	install -m755 cantlr $(DESTDIR)/usr/bin
diff --git a/debian/cantlr.1 b/debian/cantlr.1
deleted file mode 100644
index ab90b50..0000000
--- a/debian/cantlr.1
+++ /dev/null
@@ -1,63 +0,0 @@
-.\"                                      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 <n>    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 <jewel at debian.org>
-
-.SH "SEE ALSO"
-.BR http://www.antlr.org/
-.br
-
diff --git a/debian/cantlr.dirs b/debian/cantlr.dirs
deleted file mode 100644
index 45ce3ce..0000000
--- a/debian/cantlr.dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/share/doc/cantlr
diff --git a/debian/cantlr.manpages b/debian/cantlr.manpages
deleted file mode 100644
index 969c6e7..0000000
--- a/debian/cantlr.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/cantlr.1
diff --git a/debian/cantlr.sh b/debian/cantlr.sh
deleted file mode 100755
index 215aee3..0000000
--- a/debian/cantlr.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/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 "$@"
diff --git a/debian/changelog b/debian/changelog
index 67e749d..682cefc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 antlr (2.7.7+dfsg-8) UNRELEASED; urgency=medium
 
   * Fixed the build failure with Java 9 (Closes: #873971)
+  * Removed the remaining references to cantlr and gcj
   * Moved the package to Git
   * Standards-Version updated to 4.1.1
   * Switch to debhelper level 10
diff --git a/debian/control b/debian/control
index 119f693..57ec878 100644
--- a/debian/control
+++ b/debian/control
@@ -39,9 +39,6 @@ Description: language tool for constructing recognizers, compilers etc (java lib
  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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/antlr.git



More information about the pkg-java-commits mailing list