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

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

commit 9d6172f034a11fccc1a75950eff0c3a2b8bac01c
Author: Ludovic Claude <ludovic.cla...@laposte.net>
Date:   Sun Aug 2 12:13:17 2009 +0000

    * 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
---
 debian/changelog          | 10 ++++++++++
 debian/control            |  4 ++--
 debian/libantlr-java.poms |  1 +
 debian/maven.rules        |  1 +
 debian/pom.xml            | 22 ++++++++++++++++++++++
 debian/rules              | 18 ++++++++++++++----
 6 files changed, 50 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e5d04ee..15030e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+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 <ludovic.cla...@laposte.net>  Mon, 20 Jul 2009 23:06:06 
+0100
+
 antlr (2.7.7-11) unstable; urgency=low
 
   [ Jan Dittberner ]
diff --git a/debian/control b/debian/control
index 17dfe50..cfb00e5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,8 @@ Priority: optional
 Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Arnaud Vandyck <av...@debian.org>, John Leuner <je...@debian.org>, 
Michael Koch <konque...@gmx.de>, Barry Hawkins <ba...@bytemason.org>, Torsten 
Werner <twer...@debian.org>
 Build-Depends: debhelper (>= 4), default-jdk-builddep, python, autotools-dev, 
python-all-dev (>= 2.3.5-11), sharutils, java-gcj-compat-dev, quilt
-Build-Depends-Indep: python-support (>= 0.3), nant, cli-common-dev (>= 0.4.4), 
mono-devel | c-sharp-compiler, libmono-winforms2.0-cil
-Standards-Version: 3.8.0
+Build-Depends-Indep: maven-repo-helper, python-support (>= 0.3), nant, 
cli-common-dev (>= 0.4.4), mono-devel | c-sharp-compiler, 
libmono-winforms2.0-cil
+Standards-Version: 3.8.2
 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/
diff --git a/debian/libantlr-java.poms b/debian/libantlr-java.poms
new file mode 100644
index 0000000..1a7e280
--- /dev/null
+++ b/debian/libantlr-java.poms
@@ -0,0 +1 @@
+debian/pom.xml
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..ea9a9b3
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+antlr antlr jar s/2\..*/2.x/
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..354e82d
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,22 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>antlr</groupId>
+  <artifactId>antlr</artifactId>
+  <packaging>jar</packaging>
+  <version>2.7.7</version>
+  <name>AntLR Parser Generator</name>
+  <description>
+    A framework for constructing recognizers, compilers,
+    and translators from grammatical descriptions containing
+    Java, C#, C++, or Python actions.
+  </description>
+  <url>http://www.antlr.org/</url>
+  <licenses>
+    <license>
+      <name>BSD License</name>
+      <url>http://www.antlr.org/license.html</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <dependencies/>
+</project>
diff --git a/debian/rules b/debian/rules
index e7228f2..75566f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,9 @@ 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
@@ -70,6 +73,7 @@ clean: unpatch
        -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
@@ -82,8 +86,10 @@ install-indep: build-indep
        $(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 CHANGES.txt debian/antlr/usr/share/doc/antlr/changelog
-       install -m644 CHANGES.txt 
debian/antlr-doc/usr/share/doc/antlr-doc/changelog
+       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
@@ -95,8 +101,8 @@ install: build
        $(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 CHANGES.txt debian/cantlr/usr/share/doc/cantlr/changelog
-       install -m644 CHANGES.txt 
debian/libantlr-dev/usr/share/doc/libantlr-dev/changelog
+       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
@@ -207,3 +213,7 @@ 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
+

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

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to