[pkg-java] r16673 - in trunk/apache-log4j1.2/debian: . patches
Emmanuel Bourg
ebourg-guest at alioth.debian.org
Thu May 16 12:50:01 UTC 2013
Author: ebourg-guest
Date: 2013-05-16 12:50:01 +0000 (Thu, 16 May 2013)
New Revision: 16673
Added:
trunk/apache-log4j1.2/debian/patches/remove-activation-framework-dependency.patch
Modified:
trunk/apache-log4j1.2/debian/changelog
trunk/apache-log4j1.2/debian/control
trunk/apache-log4j1.2/debian/patches/series
trunk/apache-log4j1.2/debian/rules
Log:
Removed the dependency on the Activation Framework (libgnujaf-java)
Modified: trunk/apache-log4j1.2/debian/changelog
===================================================================
--- trunk/apache-log4j1.2/debian/changelog 2013-05-16 11:39:28 UTC (rev 16672)
+++ trunk/apache-log4j1.2/debian/changelog 2013-05-16 12:50:01 UTC (rev 16673)
@@ -1,3 +1,10 @@
+apache-log4j1.2 (1.2.17-3) unstable; urgency=low
+
+ * Removed the dependency on the Activation Framework (libgnujaf-java)
+ * debian/rules: Improved the clean target
+
+ -- Emmanuel Bourg <ebourg at apache.org> Thu, 16 May 2013 14:46:43 +0200
+
apache-log4j1.2 (1.2.17-2) unstable; urgency=low
* Team upload.
Modified: trunk/apache-log4j1.2/debian/control
===================================================================
--- trunk/apache-log4j1.2/debian/control 2013-05-16 11:39:28 UTC (rev 16672)
+++ trunk/apache-log4j1.2/debian/control 2013-05-16 12:50:01 UTC (rev 16673)
@@ -8,7 +8,7 @@
Ludovic Claude <ludovic.claude at laposte.net>,
Jakub Adam <jakub.adam at ktknet.cz>,
Emmanuel Bourg <ebourg at apache.org>
-Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant, libgnujaf-java,
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant,
libgnumail-java, maven-repo-helper, default-jdk-doc, libjboss-jmx-java, bnd
Standards-Version: 3.9.4
Homepage: http://logging.apache.org/log4j/1.2/
Added: trunk/apache-log4j1.2/debian/patches/remove-activation-framework-dependency.patch
===================================================================
--- trunk/apache-log4j1.2/debian/patches/remove-activation-framework-dependency.patch (rev 0)
+++ trunk/apache-log4j1.2/debian/patches/remove-activation-framework-dependency.patch 2013-05-16 12:50:01 UTC (rev 16673)
@@ -0,0 +1,30 @@
+Description: Remove the dependency on the Activation Framework (integrated to Java 6 and later)
+Author: Emmanuel Bourg
+--- a/build.xml
++++ b/build.xml
+@@ -118,7 +118,6 @@
+ <path id="compile.classpath">
+ <pathelement location="${build.home}/classes"/>
+ <pathelement location="${javamail.jar}"/>
+- <pathelement location="${activation.jar}"/>
+ <pathelement location="${jaxp.jaxp.jar}"/>
+ <pathelement location="${jms.jar}"/>
+ <pathelement location="${jmx.jar}"/>
+--- a/tests/build.xml
++++ b/tests/build.xml
+@@ -35,7 +35,6 @@
+ <property name="checkstyle.version" value="4.1"/>
+ <property name="checkstyle.jar" location="${m2_repo}/checkstyle/checkstyle/${checkstyle.version}/checkstyle-${checkstyle.version}.jar"/>
+ <property name="javamail.jar" location="${m2_repo}/javax/mail/mail/1.4.3/mail-1.4.3.jar"/>
+- <property name="activation.jar" location="${m2_repo}/javax/activation/activation/1.1/activation-1.1.jar"/>
+ <property name="junit.version" value="3.8.1"/>
+ <property name="junit.jar" location="${m2_repo}/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
+
+@@ -70,7 +69,6 @@
+ <pathelement location="${clover.jar}"/>
+ <pathelement location="${junit.jar}"/>
+ <pathelement location="${javamail.jar}"/>
+- <pathelement location="${activation.jar}"/>
+ <pathelement path="${java.class.path}"/>
+ </path>
+
Modified: trunk/apache-log4j1.2/debian/patches/series
===================================================================
--- trunk/apache-log4j1.2/debian/patches/series 2013-05-16 11:39:28 UTC (rev 16672)
+++ trunk/apache-log4j1.2/debian/patches/series 2013-05-16 12:50:01 UTC (rev 16673)
@@ -1,2 +1,3 @@
build_fix.patch
+remove-activation-framework-dependency.patch
Modified: trunk/apache-log4j1.2/debian/rules
===================================================================
--- trunk/apache-log4j1.2/debian/rules 2013-05-16 11:39:28 UTC (rev 16672)
+++ trunk/apache-log4j1.2/debian/rules 2013-05-16 12:50:01 UTC (rev 16673)
@@ -7,19 +7,22 @@
VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/default-java
ANT_HOME := /usr/share/ant
-DEB_JARS := gnumail activation
+DEB_JARS := gnumail
DEB_ANT_BUILD_TARGET := jar javadoc
DEB_ANT_ARGS := -Dversion=$(VERSION)
clean::
-$(RM) -r docs
-rm -rf debian/tmp
+ rm -Rf debian/liblog4j-1.2-java-doc/*
+ rm -Rf debian/log4j-${VERSION}.bar
+ mh_clean
common-build-indep::
cat debian/log4j.bnd | sed s/VERSION/$(VERSION)/ > debian/.log4j-versioned.bnd
java -jar /usr/share/java/bnd.jar wrap -properties debian/.log4j-versioned.bnd dist/lib/log4j-$(VERSION).jar
java -jar /usr/share/java/bnd.jar wrap -properties debian/.log4j-versioned.bnd \
- -classpath /usr/share/java/jboss-jmx.jar,/usr/share/java/gnumail.jar,/usr/share/java/activation.jar \
+ -classpath /usr/share/java/jboss-jmx.jar,/usr/share/java/gnumail.jar \
-output log4j.jar dist/lib/log4j-$(VERSION).jar
rm debian/.log4j-versioned.bnd dist/lib/log4j-$(VERSION).jar
mv log4j.jar dist/lib/log4j-$(VERSION).jar
More information about the pkg-java-commits
mailing list