diff -u libslf4j-java-1.5.8/debian/build.xml libslf4j-java-1.5.8/debian/build.xml --- libslf4j-java-1.5.8/debian/build.xml +++ libslf4j-java-1.5.8/debian/build.xml @@ -4,27 +4,16 @@ - - - - - - - - - - - @@ -42,7 +31,7 @@ + debug="true" source="1.5" target="1.5" /> @@ -50,33 +39,9 @@ - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/> @@ -84,35 +49,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.4" target="1.4" classpath="${slf4j-api.jar}"/> @@ -120,36 +59,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/> @@ -157,36 +69,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/> @@ -194,36 +79,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/> @@ -231,36 +89,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/> @@ -268,36 +99,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/> @@ -305,38 +109,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/> @@ -344,38 +119,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/> @@ -383,36 +129,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:/usr/share/java/javassist.jar:/usr/share/java/commons-lang.jar"/> @@ -420,37 +139,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -u libslf4j-java-1.5.8/debian/copyright libslf4j-java-1.5.8/debian/copyright --- libslf4j-java-1.5.8/debian/copyright +++ libslf4j-java-1.5.8/debian/copyright @@ -55 +55 @@ -and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +and is licensed under the GPL 2, see `/usr/share/common-licenses/GPL-2'. diff -u libslf4j-java-1.5.8/debian/ant.properties libslf4j-java-1.5.8/debian/ant.properties --- libslf4j-java-1.5.8/debian/ant.properties +++ libslf4j-java-1.5.8/debian/ant.properties @@ -1,8 +1,6 @@ project.name=libslf4j-java class.dir=classes -test.dir=src/test/java source.dir=src/main/java -testclass.dir=testclasses jcl-over-slf4j.dir=jcl-over-slf4j jul-to-slf4j.dir=jul-to-slf4j diff -u libslf4j-java-1.5.8/debian/changelog libslf4j-java-1.5.8/debian/changelog --- libslf4j-java-1.5.8/debian/changelog +++ libslf4j-java-1.5.8/debian/changelog @@ -1,11 +1,45 @@ -libslf4j-java (1.5.8-1ubuntu3) karmic; urgency=low +libslf4j-java (1.5.8-3ubuntu1) karmic; urgency=low - * debian/build.xml, debian/ant.properties: Enable testsuites (LP: #429340). - Some tests were disabled to be build-daemon compatible. - * debian/control, debian/rules: Add junit and ant-optional to Build-Depends - as they are needed for the test runs. + * Merge with Debian; remaining changes: + - debian/ant.properties: Explicitly build java5-compatible code. + - debian/control: + - Bump minimal JRE dependency to java5-runtime-headless. + - Build with default-jdk rather than default-jdk-builddep. - -- Thierry Carrez Mon, 14 Sep 2009 14:30:38 +0200 + -- Matthias Klose Sun, 18 Oct 2009 16:59:17 +0200 + +libslf4j-java (1.5.8-3) unstable; urgency=low + + * Update Standards-Version to 3.8.3 + * Compile classes for Java 1.4 / 1.5, don't allow classes + to be compiled in Java 1.6 format + + -- Ludovic Claude Fri, 04 Sep 2009 17:26:32 +0100 + +libslf4j-java (1.5.8-2) unstable; urgency=low + + * Upload to unstable. + + -- Torsten Werner Sun, 09 Aug 2009 12:42:35 +0200 + +libslf4j-java (1.5.8-1.1) experimental; urgency=low + + [Ludovic Claude] + * Non-maintainer upload. + * Add the Maven POMs to the package + * Add a Build-Depends-Indep dependency on maven-repo-helper + * Use mh_installpom and mh_installjar to install the POM and the jar to the + Maven repository + * Fix Lintian warning: license for the Debian packaging is GPL version 2, + according to Varun Hiremath. + * Use default-jdk instead of default-jdk-builddep for Build-Depends as no + components are built with gcj. + + [ Emmanuel Bourg and Sylvestre Ledru] + * Update of the URLs + * Rename Jakarta Commons to Apache Commons + + -- Ludovic Claude Thu, 02 Jul 2009 23:16:26 +0100 libslf4j-java (1.5.8-1ubuntu2) karmic; urgency=low diff -u libslf4j-java-1.5.8/debian/rules libslf4j-java-1.5.8/debian/rules --- libslf4j-java-1.5.8/debian/rules +++ libslf4j-java-1.5.8/debian/rules @@ -2,23 +2,25 @@ -include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk -JAVA_HOME := /usr/lib/jvm/default-java -DEB_ANT_BUILD_TARGET := jar -DEB_ANT_BUILDFILE := debian/build.xml -DEB_JARS := commons-logging log4j-1.2 junit ant-junit - -ALL_JARS = $(wildcard *.jar) -DEST_DIR = $(DEB_DESTDIR)/usr/share/java - -common-install-prehook-indep:: - for jar in $(ALL_JARS); do \ - BASENAME=`basename $$jar .jar`; \ - FULLNAME=$$BASENAME-$(DEB_UPSTREAM_VERSION).jar; \ - install -m 644 -D $$jar $(DEST_DIR)/$$FULLNAME; \ - ln -s $$FULLNAME $(DEST_DIR)/$$BASENAME.jar; \ +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_BUILD_TARGET := jar +DEB_ANT_BUILDFILE := debian/build.xml +DEB_JARS := commons-logging log4j-1.2 +MODULES := jcl-over-slf4j jul-to-slf4j log4j-over-slf4j slf4j-api \ + slf4j-jcl slf4j-jdk14 slf4j-log4j12 slf4j-migrator slf4j-nop slf4j-simple + +binary-post-install/$(PACKAGE):: + mh_installpoms -p$(PACKAGE) + set -e; for MODULE in $(MODULES); do \ + mh_installjar -p$(PACKAGE) -l $$MODULE/pom.xml $$MODULE.jar; \ done +clean:: + -rm -rf debian/tmp + get-orig-source: - -uscan --upstream-version 0 --rename + -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename diff -u libslf4j-java-1.5.8/debian/control libslf4j-java-1.5.8/debian/control --- libslf4j-java-1.5.8/debian/control +++ libslf4j-java-1.5.8/debian/control @@ -4,10 +4,10 @@ Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Damien Raude-Morvan -Build-Depends: cdbs, debhelper (>= 6), ant-optional, default-jdk -Build-Depends-Indep: liblog4j1.2-java, libcommons-logging-java, - libcommons-lang-java, libjavassist-java, junit -Standards-Version: 3.8.1 +Build-Depends: cdbs, debhelper (>= 6), ant, default-jdk +Build-Depends-Indep: maven-repo-helper, liblog4j1.2-java, + libcommons-logging-java, libcommons-lang-java, libjavassist-java +Standards-Version: 3.8.3 Homepage: http://www.slf4j.org/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libslf4j-java Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libslf4j-java @@ -20,8 +20,8 @@ The Simple Logging Facade for Java (or SLF4J) is intended to serve as a simple facade for various logging APIs allowing to the end-user to plug in the desired implementation at deployment time. SLF4J also - allows for a gradual migration path away from Jakarta Commons - Logging (JCL) + allows for a gradual migration path away from Apache Commons + Logging (CL) . Logging API implementations can either choose to implement the SLF4J interfaces directly, e.g. logback or SimpleLogger. Alternatively, it diff -u libslf4j-java-1.5.8/debian/orig-tar.sh libslf4j-java-1.5.8/debian/orig-tar.sh --- libslf4j-java-1.5.8/debian/orig-tar.sh +++ libslf4j-java-1.5.8/debian/orig-tar.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -# $1 = version +# $2 = version DIR=libslf4j-java-$2.orig # clean up the upstream tarball only in patch2: unchanged: --- libslf4j-java-1.5.8.orig/debian/maven.rules +++ libslf4j-java-1.5.8/debian/maven.rules @@ -0,0 +1,2 @@ +junit junit jar s/3\..*/3.x/ +log4j log4j jar s/1\.2\..*/1.2.x/ only in patch2: unchanged: --- libslf4j-java-1.5.8.orig/debian/libslf4j-java.poms +++ libslf4j-java-1.5.8/debian/libslf4j-java.poms @@ -0,0 +1,12 @@ +pom.xml --no-parent +jcl-over-slf4j/pom.xml +jul-to-slf4j/pom.xml +log4j-over-slf4j/pom.xml +slf4j-api/pom.xml +slf4j-nop/pom.xml +slf4j-jdk14/pom.xml +slf4j-jcl/pom.xml +slf4j-log4j12/pom.xml +slf4j-migrator/pom.xml +slf4j-simple/pom.xml +