[antlr3.2] 13/46: * Call dh_nativejava to fill the antlr3-gcj package again. (Closes: #587306) * Reformat a changelog entry for the last version. [TODO] create an antlr3-gunit package and modify maven-debian-helper to deploy the gunit jars to this package

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Oct 26 20:24:53 UTC 2015


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

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

commit 3d4dfebaa08bc4d5433703c27a1abcf80448736e
Author: Torsten Werner <twerner at debian.org>
Date:   Sun Jun 27 19:28:42 2010 +0000

    * Call dh_nativejava to fill the antlr3-gcj package again. (Closes: #587306)
    * Reformat a changelog entry for the last version.
        [TODO] create an antlr3-gunit package and modify maven-debian-helper to
        deploy the gunit jars to this package
---
 debian/changelog | 10 ++++++++--
 debian/rules     | 18 ++++++++++--------
 2 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f60cd2e..e5379c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 antlr3 (3.2-2) unstable; urgency=low
 
+  [ Ludovic Claude ]
   * New upstream (Closes: #579504)
   * debian/watch fixes in previous version (Closes: #570684)
   * Add missing antlr3-runtime.jar library to antlr3 wrapper script
@@ -8,7 +9,11 @@ antlr3 (3.2-2) unstable; urgency=low
     the whole environement when launching this program
   * Add man page for antlr3 script
 
- -- Ludovic Claude <ludovic.claude at laposte.net>  Sat, 26 Jun 2010 15:36:11 +0200
+  [ Torsten Werner ]
+  * Call dh_nativejava to fill the antlr3-gcj package again. (Closes: #587306)
+  * Reformat a changelog entry for the last version.
+
+ -- Torsten Werner <twerner at debian.org>  Sun, 27 Jun 2010 21:01:36 +0200
 
 antlr3 (3.2-1) unstable; urgency=low
 
@@ -25,7 +30,8 @@ antlr3 (3.2-1) unstable; urgency=low
       - antlr3 Depends: remove java1-runtime, add java5-runtime
       - downgrade antlr3-gcj from Recommands: to Suggests:
       - create an antlr3-doc package that contains the documentation
-      [TODO] create an antlr3-gunit package and modify maven-debian-helper to deploy the gunit jars to this package
+      [TODO] create an antlr3-gunit package and modify maven-debian-helper to
+      deploy the gunit jars to this package
   * debian/rules: remove include simple-patchsys.mk, replaced by
     source format 3.0 (quilt)
   * Add orig-tar to clean up upstream sources
diff --git a/debian/rules b/debian/rules
index 07d7dd4..ebec002 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,12 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/maven.mk
 
-#include /usr/share/gcj/debian_defaults
+include /usr/share/gcj/debian_defaults
 
-#DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-#ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
-#  with_native := yes
-#endif
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
+  with_native := yes
+endif
 
 DEB_MAVEN_INSTALL_TO_USJ := false
 DEB_MAVEN_DOC_TARGET := javadoc:jar javadoc:aggregate
@@ -34,6 +34,11 @@ before-mvn-build::
 	rm -rf tool/src/main/java/org/antlr/grammar/v3
 	mh_unpatchpoms -pantlr3
 
+ifeq ($(with_native),yes)
+install/antlr3-gcj:: install/antlr3
+	dh_nativejava -pantlr3-gcj
+endif
+
 binary-post-install/antlr3::
 	mh_linkrepojar -pantlr3 runtime/Java/pom.xml /usr/share/java/antlr3-runtime.jar
 	mh_linkrepojar -pantlr3 tool/pom.xml /usr/share/java/antlr3.jar
@@ -46,9 +51,6 @@ binary-post-install/antlr3-gcj:: binary-post-install/antlr3
 	rm -rf debian/antlr3-gcj/usr/share/doc/antlr3-gcj
 	ln -s antlr3 \
 	    debian/antlr3-gcj/usr/share/doc/antlr3-gcj
-ifeq ($(with_native),yes)
-	dh_nativejava -pantlr3-gcj
-endif
 
 get-orig-source:
 		-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack

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



More information about the pkg-java-commits mailing list