[apache-mime4j] 13/19: Add Class-Path to generated jars, and use javahelper to determine runtime dependencies.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jul 7 11:59:38 UTC 2014


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

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

commit 06288416968936c60e147136a956629efa4a669e
Author: David Paleino <dapal at debian.org>
Date:   Sun Dec 30 22:12:34 2012 +0100

    Add Class-Path to generated jars, and use javahelper to determine runtime dependencies.
---
 debian/changelog                       | 4 +++-
 debian/control                         | 3 ++-
 debian/libapache-mime4j-java.classpath | 3 +++
 debian/rules                           | 3 ++-
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 00c732b..7b3e377 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,10 @@ apache-mime4j (0.7.2-1) UNRELEASED; urgency=low
   * Bump debhelper compatibility to 9.
   * Drop dependency on JRE.
   * Updated debian/copyright.
+  * Add Class-Path to generated jars, and use javahelper to determine
+    runtime dependencies.
 
- -- David Paleino <dapal at debian.org>  Sun, 30 Dec 2012 21:54:48 +0100
+ -- David Paleino <dapal at debian.org>  Sun, 30 Dec 2012 22:11:40 +0100
 
 apache-mime4j (0.6.1-2) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index d24c541..9046610 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends:
  , maven2
  , maven-debian-helper
  , maven-repo-helper
+ , javahelper
 Build-Depends-Indep:
  libmaven-assembly-plugin-java
  , libmaven-javadoc-plugin-java
@@ -25,7 +26,7 @@ Architecture: all
 Depends:
  ${misc:Depends}
  , ${java:Depends}
- , libcommons-logging-java
+Recommends: ${java:Recommends}
 Description: MIME and RFC822 parser for Java
  mime4j provides a parser, MimeStreamParser, for e-mail message streams in
  plain rfc822 and MIME format. The parser uses a callback mechanism to report
diff --git a/debian/libapache-mime4j-java.classpath b/debian/libapache-mime4j-java.classpath
new file mode 100644
index 0000000..a89c275
--- /dev/null
+++ b/debian/libapache-mime4j-java.classpath
@@ -0,0 +1,3 @@
+usr/share/java/apache-mime4j-benchmark.jar /usr/share/java/commons-io.jar
+usr/share/java/apache-mime4j-dom.jar /usr/share/java/apache-mime4j-core.jar
+usr/share/java/apache-mime4j-storage.jar /usr/share/java/apache-mime4j-core.jar /usr/share/java/apache-mime4j-dom.jar
diff --git a/debian/rules b/debian/rules
index b0faf22..7f25d25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,8 @@ ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 endif
 
 %:
-	dh $@ 
+	dh $@ \
+		--with javahelper
 
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE_NOTES.txt

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



More information about the pkg-java-commits mailing list