[Git][java-team/cup][master] 5 commits: Install cup_runtime Maven artifact.

Markus Koschany gitlab at salsa.debian.org
Mon Oct 1 17:19:14 BST 2018


Markus Koschany pushed to branch master at Debian Java Maintainers / cup


Commits:
21aad11d by Markus Koschany at 2018-10-01T12:18:02Z
Install cup_runtime Maven artifact.

- - - - -
f39580db by Markus Koschany at 2018-10-01T12:18:28Z
Update changelog

- - - - -
4f02cb77 by Markus Koschany at 2018-10-01T12:27:28Z
Add manifest patch and fix Manifest attribute.

- - - - -
eac32e9c by Markus Koschany at 2018-10-01T12:28:35Z
Update changelog

- - - - -
9880d364 by Markus Koschany at 2018-10-01T16:15:41Z
Update README.source.

- - - - -


11 changed files:

- debian/README.source
- debian/changelog
- debian/cup.install
- debian/cup.links
- debian/cup.poms
- debian/patches/build.patch
- debian/patches/jflex-1.6.1.patch
- + debian/patches/manifest.patch
- debian/patches/series
- + debian/pom_runtime.xml
- debian/rules


Changes:

=====================================
debian/README.source
=====================================
@@ -1,14 +1,9 @@
 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:
 


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+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 at debian.org>  Mon, 01 Oct 2018 14:18:23 +0200
+
 cup (0.11b-20160615-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/cup.install
=====================================
@@ -1,3 +1,3 @@
 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


=====================================
debian/cup.links
=====================================
@@ -1,2 +1,3 @@
 /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/cup.poms
=====================================
@@ -1 +1,2 @@
 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


=====================================
debian/patches/build.patch
=====================================
@@ -2,6 +2,8 @@ From: Markus Koschany <apo at 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(-)


=====================================
debian/patches/jflex-1.6.1.patch
=====================================
@@ -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 @@


=====================================
debian/patches/manifest.patch
=====================================
@@ -0,0 +1,22 @@
+From: Markus Koschany <apo at 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/*">


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 build.patch
 jflex-1.6.1.patch
+manifest.patch


=====================================
debian/pom_runtime.xml
=====================================
@@ -0,0 +1,50 @@
+<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>


=====================================
debian/rules
=====================================
@@ -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
 



View it on GitLab: https://salsa.debian.org/java-team/cup/compare/a8bb21844d2ed0c309ff51958243e83dfb5b95fa...9880d3640c02fb7fbd6528be8469155b9fba4ed0

-- 
View it on GitLab: https://salsa.debian.org/java-team/cup/compare/a8bb21844d2ed0c309ff51958243e83dfb5b95fa...9880d3640c02fb7fbd6528be8469155b9fba4ed0
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20181001/8bc53741/attachment.html>


More information about the pkg-java-commits mailing list