This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository clirr.
commit 62920456b3c7cb7be40fa5ecb725e6217ac04817 Author: Ludovic Claude <ludovic.cla...@laposte.net> Date: Sat Aug 1 21:39:58 2009 +0000 [svn-inject] Applying Debian modifications to trunk --- debian/build.properties | 6 +++ debian/changelog | 5 ++ debian/clirr.poms | 1 + debian/compat | 1 + debian/control | 21 ++++++++ debian/copyright | 22 ++++++++ debian/maven.rules | 4 ++ debian/patches/bcel5.2.patch | 30 +++++++++++ debian/patches/series | 1 + debian/pom.xml | 125 +++++++++++++++++++++++++++++++++++++++++++ debian/rules | 27 ++++++++++ debian/watch | 2 + 12 files changed, 245 insertions(+) diff --git a/debian/build.properties b/debian/build.properties new file mode 100644 index 0000000..2490a42 --- /dev/null +++ b/debian/build.properties @@ -0,0 +1,6 @@ +javadoc.dir=build/docs/api +maven.test.skip=true +build.sourceDirectory=core/src/java +build.resourcesDirectory=core/src/conf +build.testDirectory=core/src/test + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c0e331e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +clirr (0.6-0ubuntu1~ppa6) karmic; urgency=low + + * Initial release. (Closes: #537307) + + -- Ludovic Claude <ludovic.cla...@laposte.net> Thu, 16 Jul 2009 19:27:09 +0100 diff --git a/debian/clirr.poms b/debian/clirr.poms new file mode 100644 index 0000000..623bd24 --- /dev/null +++ b/debian/clirr.poms @@ -0,0 +1 @@ +debian/pom.xml --no-parent diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..fe691a5 --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: clirr +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Uploaders: Ludovic Claude <ludovic.cla...@laposte.net> +Homepage: http://clirr.sourceforge.net/ +Build-Depends: debhelper (>= 7), cdbs, default-jdk, quilt, ant, ant-optional, maven-ant-helper +Build-Depends-Indep: maven-repo-helper, libbcel-java, libcommons-cli-java, libcommons-lang-java +Standards-Version: 3.8.2 + +Package: clirr +Architecture: all +Section: java +Depends: ${misc:Depends}, libbcel-java, libcommons-cli-java, libcommons-lang-java +Recommends: ant +Description: Checks Java libraries for compatibility with older releases + Clirr is a tool that checks Java libraries for binary and source + compatibility with older releases. The Clirr Ant task can break + the build if it detects incompatible API changes, making it easy to + prevent accidental introduction of compatibility issues. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1e78582 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: Clirr +Maintainer: Lars Kühne +Source: http://clirr.sourceforge.net/ + +Files: * +Copyright: 2003-2005 Lars Kühne +License: LGPL-2.1+ + +Files: debian/* +Copyright: 2009, Ludovic Claude <ludovic.cla...@laposte.net> +License: GPL-3+ + +License: LGPL-2.1 + On Debian GNU/Linux system you can find the complete text of the + LGPL 2.1 license in '/usr/share/common-licenses/LGPL-2.1'. + +License: GPL-3 + On Debian GNU/Linux system you can find the complete text of the + GNU General Public License version 3 license in + '/usr/share/common-licenses/GPL-3'. + diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..8adb93b --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,4 @@ +s/ant/org.apache.ant/ * * s/.*/debian/ +s/bcel/org.apache.bcel/ bcel jar s/5\..*/5.x/ +antlr antlr jar s/2\..*/2.x/ + diff --git a/debian/patches/bcel5.2.patch b/debian/patches/bcel5.2.patch new file mode 100644 index 0000000..50ee129 --- /dev/null +++ b/debian/patches/bcel5.2.patch @@ -0,0 +1,30 @@ +--- a/core/src/java/net/sf/clirr/core/internal/bcel/BcelJavaType.java ++++ b/core/src/java/net/sf/clirr/core/internal/bcel/BcelJavaType.java +@@ -66,8 +66,12 @@ + { + return new JavaType[0]; + } +- final JavaClass[] superClasses = clazz.getSuperClasses(); +- return convertToJavaTypeArray(superClasses); ++ try { ++ final JavaClass[] superClasses = clazz.getSuperClasses(); ++ return convertToJavaTypeArray(superClasses); ++ } catch (ClassNotFoundException e) { ++ throw new RuntimeException(e); ++ } + } + + public JavaType[] getAllInterfaces() { +@@ -75,8 +79,12 @@ + { + return new JavaType[0]; + } ++ try { + final JavaClass[] interfaces = clazz.getAllInterfaces(); + return convertToJavaTypeArray(interfaces); ++ } catch (ClassNotFoundException e) { ++ throw new RuntimeException(e); ++ } + } + + public JavaType[] getInnerClasses() { diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..536e603 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +bcel5.2.patch diff --git a/debian/pom.xml b/debian/pom.xml new file mode 100644 index 0000000..2309f02 --- /dev/null +++ b/debian/pom.xml @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<project> + + <modelVersion>4.0.0</modelVersion> + + <groupId>net.sf.clirr</groupId> + + <artifactId>clirr-core</artifactId> + + <name>Clirr</name> + + <version>0.6</version> + + <!-- details about the organization that 'owns' the project --> + <organization> + <name>Lars K�hne</name> + <url>mailto:clirr-de...@lists.sourceforge.net</url> + </organization> + + <inceptionYear>2003</inceptionYear> + <description> + Clirr is a tool that checks Java libraries for binary + compatibility with older releases. Basically you give it two sets + of jar files and Clirr dumps out a list of changes in the public + api. Clirr provides an Ant task that can be configured to break + the build if it detects incompatible api changes. In a continuous + integration process Clirr can automatically prevent accidental + introduction of binary compatibility problems in Java libraries. + </description> + + <url>http://clirr.sourceforge.net/</url> + <issueManagement> + <system>sourceforge</system> + <url>https://sourceforge.net/tracker/?group_id=89627&atid=590799</url> + </issueManagement> + + <scm> + <connection>scm:cvs:pserver:anonym...@cvs.sourceforge.net:/cvsroot/clirr:clirr/core</connection> + <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/clirr/core</url> + </scm> + + <mailingLists> + <mailingList> + <name>clirr-user</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/clirr-user</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/clirr-user</unsubscribe> + <archive>http://lists.sourceforge.net/lists/listinfo/clirr-user</archive> + </mailingList> + <mailingList> + <name>clirr-devel</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/clirr-devel</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/clirr-devel</unsubscribe> + <archive>http://lists.sourceforge.net/lists/listinfo/clirr-devel</archive> + </mailingList> + </mailingLists> + + <developers> + <developer> + <name>Lars K�hne</name> + <id>lkuehne</id> + <organization>ppi Media</organization> + <timezone>+1</timezone> + <roles> + <role>Java Developer</role> + <role>Project Admin</role> + </roles> + </developer> + <developer> + <name>Vincent Massol</name> + <id>vmassol</id> + <organization>Apache Software Foundation</organization> + <timezone>+1</timezone> + <url>http://blogs.codehaus.org/people/vmassol</url> + <roles> + <role>Initial Inspiration and Feedback</role> + <role>Java Developer</role> + <role>Maven Guru</role> + </roles> + </developer> + <developer> + <name>Simon Kitching</name> + <id>s_kitching</id> + <organization>ECN</organization> + <timezone>+12</timezone> + <roles> + <role>Java Developer</role> + </roles> + </developer> + </developers> + + <contributors> + <contributor> + <name>Stephen Colebourne</name> + <organization>Apache Software Foundation</organization> + </contributor> + </contributors> + + <dependencies> + <dependency> + <groupId>bcel</groupId> + <artifactId>bcel</artifactId> + <version>5.1</version> + </dependency> + <dependency> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + <version>1.5.3-1</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.0</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>1.0.1</version> + <optional>true</optional> + </dependency> + </dependencies> + +</project> + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1d38033 --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := ant-nodeps bcel commons-cli commons-lang +DEB_ANT_BUILD_TARGET := package +DEB_ANT_BUILDFILE := /usr/share/maven-ant-helper/maven-build.xml +DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dbin.package=$(PACKAGE) -Dversion=$(VERSION) -Dpom.file=debian/pom.xml + +get-orig-source: + -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + +binary-post-install/$(PACKAGE):: + mh_installpoms -p$(PACKAGE) + mh_installjar -p$(PACKAGE) -l --usj-name=clirr debian/pom.xml build/clirr-core-$(VERSION).jar + +clean:: + -rm -rf debian/tmp + +get-orig-pom: + wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/net/sf/clirr/clirr-core/$(VERSION)/clirr-core-$(VERSION).pom + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..56f7fbc --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/clirr/clirr-([0-9\.]*)-src\.zip -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/clirr.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