...
 
Commits (5)
cup for Debian
==============
The source code of java_cup can be obtained from:
The source code of java_cup can be obtained with uscan.
svn checkout https://www2.in.tum.de/repos/cup/develop
The download link for the exact upstream version 0.11a is broken (May 2015) but
older versions can be found at
http://www2.cs.tum.edu/projects/cup/releases/
Source for old version 0.11a pom.xml.
pom.xml:
......
cup (0.11b-20160615-2) unstable; urgency=medium
* Team upload.
* Fix the watch file.
* Install cup_runtime Maven artifact and use de.jflex:cup_runtime namespace.
-- Markus Koschany <apo@debian.org> Mon, 01 Oct 2018 14:18:23 +0200
cup (0.11b-20160615-1) unstable; urgency=medium
* Team upload.
......
dist/java-cup-0.11b.jar usr/share/java
dist/java-cup-11b-runtime.jar usr/share/java
dist/java-cup-0.11b-runtime.jar usr/share/java
debian/bin/cup usr/bin
/usr/share/java/java-cup-0.11b.jar /usr/share/java/cup.jar
/usr/share/java/java-cup-0.11b-runtime.jar /usr/share/java/cup_runtime.jar
/usr/share/java/java-cup-0.11b.jar /usr/share/maven-repo/net/sf/squirrel-sql/thirdparty-non-maven/java-cup/0.11b/java-cup-0.11b.jar
debian/pom.xml --usj-name=cup --usj-version=0.11b --artifact=dist/java-cup-0.11b.jar
debian/pom_runtime.xml --usj-name=cup_runtime --usj-version=0.11b --artifact=dist/java-cup-0.11b-runtime.jar
......@@ -2,6 +2,8 @@ From: Markus Koschany <apo@debian.org>
Date: Sun, 30 Sep 2018 21:42:15 +0200
Subject: build
Avoid build-depending on Git.
Forwarded: not-needed
---
build.xml | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
......
......@@ -8,7 +8,7 @@ Fixes the compatibility with the version of JFlex in Debian
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.xml b/build.xml
index d464a96..d3dba25 100644
index d464a96..3a74762 100644
--- a/build.xml
+++ b/build.xml
@@ -45,14 +45,14 @@
......
From: Markus Koschany <apo@debian.org>
Date: Mon, 1 Oct 2018 14:26:11 +0200
Subject: manifest
Fix compatibility with Debian's cup version and use 0.11b version.
---
build.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index 3a74762..b513fa9 100644
--- a/build.xml
+++ b/build.xml
@@ -70,7 +70,7 @@
<jar jarfile="${dist}/java-cup-11b.jar" basedir="${classes}">
<manifest>
<attribute name="Main-Class" value="java_cup/Main" />
- <attribute name="Class-Path" value="java-cup-11b-runtime.jar" />
+ <attribute name="Class-Path" value="java-cup-0.11b-runtime.jar" />
</manifest>
</jar>
<jar jarfile="${dist}/java-cup-11b-runtime.jar" basedir="${classes}" includes="java_cup/runtime/*">
build.patch
jflex-1.6.1.patch
manifest.patch
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.jflex</groupId>
<artifactId>cup_runtime</artifactId>
<name>Java CUP Parser Generator</name>
<version>0.11b</version>
<description>
CUP is a system for generating LALR parsers from simple specifications. It serves the same role as
the widely used program YACC [1] and in fact offers most of the features of YACC. However, CUP is
written in Java, uses specifications including embedded Java code, and produces parsers which are
implemented in Java.
</description>
<url>http://www2.cs.tum.edu/projects/cup/</url>
<licenses>
<license>
<name>CUP Parser Generator Copyright Notice, License, and Disclaimer</name>
<url>http://www.smlnj.org//license.html</url>
</license>
</licenses>
<developers>
<developer>
<name>Andrea Flexeder</name>
</developer>
<developer>
<name>Michael Petter</name>
</developer>
<developer>
<name>Scott E. Hudson</name>
</developer>
<developer>
<name>C. Scott Ananian</name>
</developer>
<developer>
<name>Frank Flannery</name>
</developer>
<developer>
<name>Dan Wang</name>
</developer>
<developer>
<name>Andrew W. Appel</name>
</developer>
</developers>
<!--
Source code repository for this version is unavailable at this time. However, the upcoming release
of Java CUP version 2 has a browseable source code repository (svn) at the URL below.
-->
<scm>
<url>http://www2.in.tum.de:8080/cup2/browser</url>
</scm>
</project>
......@@ -8,6 +8,7 @@ export CLASSPATH=/usr/share/java/cup.jar:/usr/share/java/jflex.jar
override_dh_install:
if [ -f $(CURDIR)/dist/java-cup-11b.jar ]; then \
mv dist/java-cup-11b.jar dist/java-cup-0.11b.jar; \
mv dist/java-cup-11b-runtime.jar dist/java-cup-0.11b-runtime.jar; \
fi
dh_install
......@@ -15,4 +16,5 @@ override_dh_clean:
dh_clean
mh_clean
$(RM) dist/java-cup-0.11b.jar
$(RM) dist/java-cup-0.11b-runtime.jar